

<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
  <meta charset="utf-8">
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
  <title>Base object (lv_obj) &mdash; LVGL  documentation</title>
  

  
  <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
  <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
  <link rel="stylesheet" href="../_static/css/custom.css" type="text/css" />
  <link rel="stylesheet" href="../_static/css/fontawesome.min.css" type="text/css" />

  
  
    <link rel="shortcut icon" href="../_static/favicon.png"/>
  
  
  

  
  <!--[if lt IE 9]>
    <script src="../_static/js/html5shiv.min.js"></script>
  <![endif]-->
  
    
      <script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
        <script src="../_static/jquery.js"></script>
        <script src="../_static/underscore.js"></script>
        <script src="../_static/doctools.js"></script>
    
    <script type="text/javascript" src="../_static/js/theme.js"></script>

    
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="Arc (lv_arc)" href="arc.html" />
    <link rel="prev" title="Widgets" href="index.html" />
 
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-78811084-3"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

	gtag('config', 'UA-78811084-3', { 'anonymize_ip': true });
</script>

</head>

<body class="wy-body-for-nav">

   
  <div class="wy-grid-for-nav">
    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search" >
          

          
            <a href="../index.html">
          

          
            
            <img src="../_static/logo_lvgl.png" class="logo" alt="Logo"/>
          
          </a>

          
            
            
              <div class="version">
                v7.11.0-dev
              </div>
            
          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        
        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../intro/index.html">Introduction</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../intro/index.html#key-features">Key features</a></li>
<li class="toctree-l2"><a class="reference internal" href="../intro/index.html#requirements">Requirements</a></li>
<li class="toctree-l2"><a class="reference internal" href="../intro/index.html#license">License</a></li>
<li class="toctree-l2"><a class="reference internal" href="../intro/index.html#repository-layout">Repository layout</a></li>
<li class="toctree-l2"><a class="reference internal" href="../intro/index.html#release-policy">Release policy</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#branches">Branches</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#release-cycle">Release cycle</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#tags">Tags</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#changelog">Changelog</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#side-projects">Side projects</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#version-support">Version support</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../intro/index.html#faq">FAQ</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#where-can-i-ask-questions">Where can I ask questions?</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#is-my-mcu-hardware-supported">Is my MCU/hardware supported?</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#is-my-display-supported">Is my display supported?</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#nothing-happens-my-display-driver-is-not-called-what-have-i-missed">Nothing happens, my display driver is not called. What have I missed?</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#why-the-display-driver-is-called-only-once-only-the-upper-part-of-the-display-is-refreshed">Why the display driver is called only once? Only the upper part of the display is refreshed.</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#why-i-see-only-garbage-on-the-screen">Why I see only garbage on the screen?</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#why-i-see-non-sense-colors-on-the-screen">Why I see non-sense colors on the screen?</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#how-to-speed-up-my-ui">How to speed up my UI?</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#how-to-reduce-flash-rom-usage">How to reduce flash/ROM usage?</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#how-to-reduce-the-ram-usage">How to reduce the RAM usage</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#how-to-work-with-an-operating-system">How to work with an operating system?</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../get-started/index.html">Get started</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../get-started/quick-overview.html">Quick overview</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../get-started/quick-overview.html#get-started-in-a-simulator">Get started in a simulator</a></li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/quick-overview.html#add-lvgl-into-your-project">Add LVGL into your project</a></li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/quick-overview.html#learn-the-basics">Learn the basics</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#widgets">Widgets</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#events">Events</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#parts">Parts</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#states">States</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#styles">Styles</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#themes">Themes</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/quick-overview.html#examples">Examples</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#button-with-label">Button with label</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#styling-buttons">Styling buttons</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#slider-and-alignment">Slider and alignment</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/quick-overview.html#micropython">Micropython</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../get-started/pc-simulator.html">Simulator on PC</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../get-started/pc-simulator.html#select-an-ide">Select an IDE</a></li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/pc-simulator.html#set-up-eclipse-cdt">Set-up Eclipse CDT</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/pc-simulator.html#install-eclipse-cdt">Install Eclipse CDT</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/pc-simulator.html#install-sdl-2">Install SDL 2</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/pc-simulator.html#pre-configured-project">Pre-configured project</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/pc-simulator.html#add-the-pre-configured-project-to-eclipse-cdt">Add the pre-configured project to Eclipse CDT</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/pc-simulator.html#compile-and-run">Compile and Run</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../get-started/stm32.html">STM32</a></li>
<li class="toctree-l2"><a class="reference internal" href="../get-started/nxp.html">NXP</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../get-started/nxp.html#creating-new-project-with-lvgl">Creating new project with LVGL</a></li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/nxp.html#adding-hw-acceleration-for-nxp-imx-rt-platforms-using-pxp-pixel-pipeline-engine-for-existing-projects">Adding HW acceleration for NXP iMX RT platforms using PXP (PiXel Pipeline) engine for existing projects</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/nxp.html#features-supported">Features supported:</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/nxp.html#basic-configuration">Basic configuration:</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/nxp.html#basic-initialization">Basic initialization:</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/nxp.html#project-setup">Project setup:</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/nxp.html#advanced-configuration">Advanced configuration:</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../get-started/espressif.html">Espressif (ESP32)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../get-started/espressif.html#get-the-lvgl-demo-project-for-esp32">Get the LVGL demo project for ESP32</a></li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/espressif.html#use-lvgl-in-your-esp32-project">Use LVGL in your ESP32 project</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/espressif.html#prerequisites">Prerequisites</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/espressif.html#get-lvgl">Get LVGL</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/espressif.html#use-lvgl-esp32-drivers-in-your-project">Use lvgl_esp32_drivers in your project</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/espressif.html#support-for-esp32-s2">Support for ESP32-S2</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../get-started/arduino.html">Arduino</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../get-started/arduino.html#get-the-lvgl-ardunio-library">Get the LVGL Ardunio library</a></li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/arduino.html#set-up-drivers">Set up drivers</a></li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/arduino.html#configure-lvgl">Configure LVGL</a></li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/arduino.html#configure-the-examples">Configure the examples</a></li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/arduino.html#initialize-lvgl-and-run-an-example">Initialize LVGL and run an example</a></li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/arduino.html#debugging-and-logging">Debugging and logging</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../get-started/micropython.html">Micropython</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../get-started/micropython.html#what-is-micropython">What is Micropython?</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#highlights-of-micropython">Highlights of Micropython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/micropython.html#why-micropython-lvgl">Why Micropython + LVGL?</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#here-are-some-advantages-of-using-lvgl-in-micropython">Here are some advantages of using LVGL in Micropython:</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#micropython-lvgl-could-be-used-for">Micropython + LVGL could be used for:</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/micropython.html#so-what-does-it-look-like">So what does it look like?</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#a-simple-example">A simple example</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/micropython.html#how-can-i-use-it">How can I use it?</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#online-simulator">Online Simulator</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#pc-simulator">PC Simulator</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#embedded-platform">Embedded platform</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/micropython.html#where-can-i-find-more-information">Where can I find more information?</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../get-started/nuttx.html">NuttX RTOS</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../get-started/nuttx.html#what-is-nuttx">What is NuttX?</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/nuttx.html#highlights-of-nuttx">Highlights of NuttX</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/nuttx.html#why-nuttx-lvgl">Why NuttX + LVGL?</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/nuttx.html#here-are-some-advantages-of-using-lvgl-in-nuttx">Here are some advantages of using LVGL in NuttX</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/nuttx.html#nuttx-lvgl-could-be-used-for">NuttX + LVGL could be used for</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/nuttx.html#how-to-get-started-with-nuttx-and-lvgl">How to get started with NuttX and LVGL?</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/nuttx.html#first-you-need-to-install-the-pre-requisite-on-your-system">First you need to install the pre-requisite on your system</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/nuttx.html#now-let-s-to-create-a-workspace-to-save-our-files">Now let's to create a workspace to save our files</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/nuttx.html#clone-the-nuttx-and-apps-repositories">Clone the NuttX and Apps repositories:</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/nuttx.html#configure-nuttx-to-use-the-stm32f429i-disco-board-and-the-lvgl-demo">Configure NuttX to use the stm32f429i-disco board and the LVGL Demo</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/nuttx.html#flashing-the-firmware-in-the-board-using-openocd">Flashing the firmware in the board using OpenOCD:</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/nuttx.html#where-can-i-find-more-information">Where can I find more information?</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../porting/index.html">Porting</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../porting/sys.html">System overview</a></li>
<li class="toctree-l2"><a class="reference internal" href="../porting/project.html">Set-up a project</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../porting/project.html#get-the-library">Get the library</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/project.html#configuration-file">Configuration file</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/project.html#initialization">Initialization</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../porting/display.html">Display interface</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../porting/display.html#display-buffer">Display buffer</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/display.html#display-driver">Display driver</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/display.html#rotation">Rotation</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/display.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../porting/indev.html">Input device interface</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../porting/indev.html#types-of-input-devices">Types of input devices</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../porting/indev.html#touchpad-mouse-or-any-pointer">Touchpad, mouse or any pointer</a></li>
<li class="toctree-l4"><a class="reference internal" href="../porting/indev.html#keypad-or-keyboard">Keypad or keyboard</a></li>
<li class="toctree-l4"><a class="reference internal" href="../porting/indev.html#encoder">Encoder</a></li>
<li class="toctree-l4"><a class="reference internal" href="../porting/indev.html#button">Button</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../porting/indev.html#other-features">Other features</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/indev.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../porting/tick.html">Tick interface</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../porting/tick.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../porting/task-handler.html">Task Handler</a></li>
<li class="toctree-l2"><a class="reference internal" href="../porting/sleep.html">Sleep management</a></li>
<li class="toctree-l2"><a class="reference internal" href="../porting/os.html">Operating system and interrupts</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../porting/os.html#tasks-and-threads">Tasks and threads</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/os.html#interrupts">Interrupts</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../porting/log.html">Logging</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../porting/log.html#log-level">Log level</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/log.html#logging-with-printf">Logging with printf</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/log.html#custom-log-function">Custom log function</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/log.html#add-logs">Add logs</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../overview/index.html">Overview</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../overview/object.html">Objects</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/object.html#attributes">Attributes</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#basic-attributes">Basic attributes</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#specific-attributes">Specific attributes</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/object.html#working-mechanisms">Working mechanisms</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#parent-child-structure">Parent-child structure</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#moving-together">Moving together</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#visibility-only-on-the-parent">Visibility only on the parent</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#create-delete-objects">Create - delete objects</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/object.html#screens">Screens</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#create-screens">Create screens</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#get-the-active-screen">Get the active screen</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#load-screens">Load screens</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#handling-multiple-displays">Handling multiple displays</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/object.html#parts">Parts</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/object.html#states">States</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/layer.html">Layers</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/layer.html#order-of-creation">Order of creation</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/layer.html#bring-to-the-foreground">Bring to the foreground</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/layer.html#top-and-sys-layers">Top and sys layers</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/event.html">Events</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/event.html#event-types">Event types</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/event.html#generic-events">Generic events</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/event.html#special-events">Special events</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/event.html#custom-data">Custom data</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/event.html#send-events-manually">Send events manually</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/event.html#arbitrary-events">Arbitrary events</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/event.html#refresh-event">Refresh event</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/style.html">Styles</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#states">States</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#cascading-styles">Cascading styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#inheritance">Inheritance</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#parts">Parts</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#initialize-styles-and-set-get-properties">Initialize styles and set/get properties</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#managing-style-list">Managing style list</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#local-styles">Local styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#transitions">Transitions</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#properties">Properties</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#mixed-properties">Mixed properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#padding-and-margin-properties">Padding and margin properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#background-properties">Background properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#border-properties">Border properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#outline-properties">Outline properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#shadow-properties">Shadow properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#pattern-properties">Pattern properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#value-properties">Value properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#text-properties">Text properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#line-properties">Line properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#image-properties">Image properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#transition-properties">Transition properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#scale-properties">Scale properties</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#themes">Themes</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#extending-themes">Extending themes</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#styling-a-button">Styling a button</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/indev.html">Input devices</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/indev.html#pointers">Pointers</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/indev.html#keypad-and-encoder">Keypad and encoder</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/indev.html#groups">Groups</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/indev.html#styling">Styling</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/indev.html#api">API</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/indev.html#input-device">Input device</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/indev.html#id1">Groups</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/display.html">Displays</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/display.html#multiple-display-support">Multiple display support</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#using-only-one-display">Using only one display</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#mirror-display">Mirror display</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#split-image">Split image</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/display.html#screens">Screens</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#transparent-screens">Transparent screens</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/display.html#features-of-displays">Features of displays</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#inactivity">Inactivity</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#background">Background</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/display.html#colors">Colors</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#convert-color">Convert color</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#swap-16-colors">Swap 16 colors</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#create-and-mix-colors">Create and mix colors</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#opacity">Opacity</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#built-in-colors">Built-in colors</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/display.html#api">API</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#display">Display</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#id1">Colors</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/font.html">Fonts</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/font.html#unicode-support">Unicode support</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/font.html#built-in-fonts">Built-in fonts</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/font.html#normal-fonts">Normal fonts</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/font.html#special-fonts">Special fonts</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/font.html#special-features">Special features</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/font.html#bidirectional-support">Bidirectional support</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/font.html#arabic-and-persian-support">Arabic and Persian support</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/font.html#subpixel-rendering">Subpixel rendering</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/font.html#compress-fonts">Compress fonts</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/font.html#add-new-font">Add new font</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/font.html#add-new-symbols">Add new symbols</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/font.html#load-font-in-run-time">Load font in run-time</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/font.html#add-a-new-font-engine">Add a new font engine</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/image.html">Images</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/image.html#store-images">Store images</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#variables">Variables</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#files">Files</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/image.html#color-formats">Color formats</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/image.html#add-and-use-images">Add and use images</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#online-converter">Online converter</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#manually-create-an-image">Manually create an image</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#use-images">Use images</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/image.html#image-decoder">Image decoder</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#custom-image-formats">Custom image formats</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#register-an-image-decoder">Register an image decoder</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#manually-use-an-image-decoder">Manually use an image decoder</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/image.html#image-caching">Image caching</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#cache-size">Cache size</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#value-of-images">Value of images</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#memory-usage">Memory usage</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#clean-the-cache">Clean the cache</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/image.html#api">API</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#id1">Image decoder</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#image-cache">Image cache</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#image-buffer">Image buffer</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#image-draw">Image draw</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/file-system.html">File system</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/file-system.html#add-a-driver">Add a driver</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/file-system.html#usage-example">Usage example</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/file-system.html#use-drivers-for-images">Use drivers for images</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/file-system.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/animation.html">Animations</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/animation.html#create-an-animation">Create an animation</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/animation.html#animation-path">Animation path</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/animation.html#speed-vs-time">Speed vs time</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/animation.html#delete-animations">Delete animations</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/animation.html#api">API</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/animation.html#input-device">Input device</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/task.html">Tasks</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#create-a-task">Create a task</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#ready-and-reset">Ready and Reset</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#set-parameters">Set parameters</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#one-shot-tasks">One-shot tasks</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#measure-idle-time">Measure idle time</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#asynchronous-calls">Asynchronous calls</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/drawing.html">Drawing</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/drawing.html#buffering-types">Buffering types</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/drawing.html#mechanism-of-screen-refreshing">Mechanism of screen refreshing</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/drawing.html#masking">Masking</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/drawing.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/drawing.html#micropython">MicroPython</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1 current"><a class="reference internal" href="index.html">Widgets</a><ul class="current">
<li class="toctree-l2 current"><a class="current reference internal" href="#">Base object (lv_obj)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="#coordinates">Coordinates</a></li>
<li class="toctree-l4"><a class="reference internal" href="#parents-and-children">Parents and children</a></li>
<li class="toctree-l4"><a class="reference internal" href="#screens">Screens</a></li>
<li class="toctree-l4"><a class="reference internal" href="#layers">Layers</a></li>
<li class="toctree-l4"><a class="reference internal" href="#events">Events</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parts">Parts</a><ul>
<li class="toctree-l4"><a class="reference internal" href="#states">States</a></li>
<li class="toctree-l4"><a class="reference internal" href="#style">Style</a></li>
<li class="toctree-l4"><a class="reference internal" href="#attributes">Attributes</a></li>
<li class="toctree-l4"><a class="reference internal" href="#protect">Protect</a></li>
<li class="toctree-l4"><a class="reference internal" href="#groups">Groups</a></li>
<li class="toctree-l4"><a class="reference internal" href="#extended-click-area">Extended click area</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="#id1">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="arc.html">Arc (lv_arc)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="arc.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="arc.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="arc.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="arc.html#angles">Angles</a></li>
<li class="toctree-l4"><a class="reference internal" href="arc.html#rotation">Rotation</a></li>
<li class="toctree-l4"><a class="reference internal" href="arc.html#range-and-values">Range and values</a></li>
<li class="toctree-l4"><a class="reference internal" href="arc.html#type">Type</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="arc.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="arc.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="arc.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="arc.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="arc.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="arc.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="bar.html">Bar (lv_bar)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="bar.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="bar.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="bar.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="bar.html#value-and-range">Value and range</a></li>
<li class="toctree-l4"><a class="reference internal" href="bar.html#modes">Modes</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="bar.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="bar.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="bar.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="bar.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="bar.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="bar.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="btn.html">Button (lv_btn)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="btn.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="btn.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="btn.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="btn.html#states">States</a></li>
<li class="toctree-l4"><a class="reference internal" href="btn.html#checkable">Checkable</a></li>
<li class="toctree-l4"><a class="reference internal" href="btn.html#layout-and-fit">Layout and Fit</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="btn.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="btn.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="btn.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="btn.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="btn.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="btn.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="btnmatrix.html">Button matrix (lv_btnmatrix)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="btnmatrix.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="btnmatrix.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="btnmatrix.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="btnmatrix.html#button-s-text">Button's text</a></li>
<li class="toctree-l4"><a class="reference internal" href="btnmatrix.html#control-buttons">Control buttons</a></li>
<li class="toctree-l4"><a class="reference internal" href="btnmatrix.html#one-check">One check</a></li>
<li class="toctree-l4"><a class="reference internal" href="btnmatrix.html#recolor">Recolor</a></li>
<li class="toctree-l4"><a class="reference internal" href="btnmatrix.html#aligning-the-button-s-text">Aligning the button's text</a></li>
<li class="toctree-l4"><a class="reference internal" href="btnmatrix.html#notes">Notes</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="btnmatrix.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="btnmatrix.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="btnmatrix.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="btnmatrix.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="btnmatrix.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="btnmatrix.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="calendar.html">Calendar (lv_calendar)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#usage">Usage</a></li>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#id1">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#current-date">Current date</a></li>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#shown-date">Shown date</a></li>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#highlighted-days">Highlighted days</a></li>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#name-of-the-days">Name of the days</a></li>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#name-of-the-months">Name of the months</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="canvas.html">Canvas (lv_canvas)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="canvas.html#buffer">Buffer</a></li>
<li class="toctree-l4"><a class="reference internal" href="canvas.html#palette">Palette</a></li>
<li class="toctree-l4"><a class="reference internal" href="canvas.html#drawing">Drawing</a></li>
<li class="toctree-l4"><a class="reference internal" href="canvas.html#transformations">Transformations</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#blur">Blur</a></li>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="canvas.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="canvas.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="checkbox.html">Checkbox (lv_cb)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="checkbox.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="checkbox.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="checkbox.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="checkbox.html#text">Text</a></li>
<li class="toctree-l4"><a class="reference internal" href="checkbox.html#check-uncheck">Check/Uncheck</a></li>
<li class="toctree-l4"><a class="reference internal" href="checkbox.html#disabled">Disabled</a></li>
<li class="toctree-l4"><a class="reference internal" href="checkbox.html#get-set-checkbox-state">Get/Set Checkbox State</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="checkbox.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="checkbox.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="checkbox.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="checkbox.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="checkbox.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="checkbox.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="chart.html">Chart (lv_chart)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="chart.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="chart.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="chart.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="chart.html#data-series">Data series</a></li>
<li class="toctree-l4"><a class="reference internal" href="chart.html#series-type">Series' type</a></li>
<li class="toctree-l4"><a class="reference internal" href="chart.html#modify-the-data">Modify the data</a></li>
<li class="toctree-l4"><a class="reference internal" href="chart.html#override-default-start-point-for-series">Override default start point for series</a></li>
<li class="toctree-l4"><a class="reference internal" href="chart.html#set-an-external-data-source">Set an external data source</a></li>
<li class="toctree-l4"><a class="reference internal" href="chart.html#get-current-chart-information">Get current chart information</a></li>
<li class="toctree-l4"><a class="reference internal" href="chart.html#update-modes">Update modes</a></li>
<li class="toctree-l4"><a class="reference internal" href="chart.html#number-of-points">Number of points</a></li>
<li class="toctree-l4"><a class="reference internal" href="chart.html#vertical-range">Vertical range</a></li>
<li class="toctree-l4"><a class="reference internal" href="chart.html#division-lines">Division lines</a></li>
<li class="toctree-l4"><a class="reference internal" href="chart.html#tick-marks-and-labels">Tick marks and labels</a></li>
<li class="toctree-l4"><a class="reference internal" href="chart.html#cursor">Cursor</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="chart.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="chart.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="chart.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="chart.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="chart.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="chart.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="cont.html">Container (lv_cont)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="cont.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="cont.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="cont.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="cont.html#layout">Layout</a></li>
<li class="toctree-l4"><a class="reference internal" href="cont.html#autofit">Autofit</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="cont.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="cont.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="cont.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="cont.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="cont.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="cont.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="cpicker.html">Color picker (lv_cpicker)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="cpicker.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="cpicker.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="cpicker.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="cpicker.html#type">Type</a></li>
<li class="toctree-l4"><a class="reference internal" href="cpicker.html#set-color">Set color</a></li>
<li class="toctree-l4"><a class="reference internal" href="cpicker.html#color-mode">Color mode</a></li>
<li class="toctree-l4"><a class="reference internal" href="cpicker.html#knob-color">Knob color</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="cpicker.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="cpicker.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="cpicker.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="cpicker.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="cpicker.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="cpicker.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="dropdown.html">Drop-down list (lv_dropdown)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="dropdown.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="dropdown.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="dropdown.html#usage">Usage</a></li>
<li class="toctree-l3"><a class="reference internal" href="dropdown.html#id1">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="dropdown.html#set-options">Set options</a></li>
<li class="toctree-l4"><a class="reference internal" href="dropdown.html#get-selected-option">Get selected option</a></li>
<li class="toctree-l4"><a class="reference internal" href="dropdown.html#direction">Direction</a></li>
<li class="toctree-l4"><a class="reference internal" href="dropdown.html#symbol">Symbol</a></li>
<li class="toctree-l4"><a class="reference internal" href="dropdown.html#maximum-height">Maximum height</a></li>
<li class="toctree-l4"><a class="reference internal" href="dropdown.html#show-selected">Show selected</a></li>
<li class="toctree-l4"><a class="reference internal" href="dropdown.html#animation-time">Animation time</a></li>
<li class="toctree-l4"><a class="reference internal" href="dropdown.html#manually-open-close">Manually open/close</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="dropdown.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="dropdown.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="dropdown.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="dropdown.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="dropdown.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="dropdown.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="gauge.html">Gauge (lv_gauge)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="gauge.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="gauge.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="gauge.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="gauge.html#set-value-and-needles">Set value and needles</a></li>
<li class="toctree-l4"><a class="reference internal" href="gauge.html#scale">Scale</a></li>
<li class="toctree-l4"><a class="reference internal" href="gauge.html#range">Range</a></li>
<li class="toctree-l4"><a class="reference internal" href="gauge.html#needle-image">Needle image</a></li>
<li class="toctree-l4"><a class="reference internal" href="gauge.html#critical-value">Critical value</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="gauge.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="gauge.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="gauge.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="gauge.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="gauge.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="gauge.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="img.html">Image (lv_img)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="img.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="img.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="img.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="img.html#image-source">Image source</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#label-as-an-image">Label as an image</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#transparency">Transparency</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#palette-and-alpha-index">Palette and Alpha index</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#recolor">Recolor</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#auto-size">Auto-size</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#mosaic">Mosaic</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#offset">Offset</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="img.html#transformations">Transformations</a></li>
<li class="toctree-l3"><a class="reference internal" href="img.html#rotate">Rotate</a></li>
<li class="toctree-l3"><a class="reference internal" href="img.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="img.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="img.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="img.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="img.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="imgbtn.html">Image button (lv_imgbtn)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="imgbtn.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="imgbtn.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="imgbtn.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="imgbtn.html#image-sources">Image sources</a></li>
<li class="toctree-l4"><a class="reference internal" href="imgbtn.html#button-features">Button features</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="imgbtn.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="imgbtn.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="imgbtn.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="imgbtn.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="imgbtn.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="imgbtn.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="keyboard.html">Keyboard (lv_keyboard)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="keyboard.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="keyboard.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="keyboard.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="keyboard.html#modes">Modes</a></li>
<li class="toctree-l4"><a class="reference internal" href="keyboard.html#assign-text-area">Assign Text area</a></li>
<li class="toctree-l4"><a class="reference internal" href="keyboard.html#new-keymap">New Keymap</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="keyboard.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="keyboard.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="keyboard.html#examples">Examples</a><ul>
<li class="toctree-l4"><a class="reference internal" href="keyboard.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="keyboard.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="keyboard.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="label.html">Label (lv_label)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="label.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="label.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="label.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="label.html#set-text">Set text</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#line-break">Line break</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#long-modes">Long modes</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#text-align">Text align</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#text-recolor">Text recolor</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#very-long-texts">Very long texts</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#symbols">Symbols</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="label.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="label.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="label.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="label.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="label.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="led.html">LED (lv_led)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="led.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="led.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="led.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="led.html#brightness">Brightness</a></li>
<li class="toctree-l4"><a class="reference internal" href="led.html#toggle">Toggle</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="led.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="led.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="led.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="led.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="led.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="led.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="line.html">Line (lv_line)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="line.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="line.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="line.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="line.html#set-points">Set points</a></li>
<li class="toctree-l4"><a class="reference internal" href="line.html#auto-size">Auto-size</a></li>
<li class="toctree-l4"><a class="reference internal" href="line.html#invert-y">Invert y</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="line.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="line.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="line.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="line.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="line.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="line.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="list.html">List (lv_list)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="list.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="list.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="list.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="list.html#add-buttons">Add buttons</a></li>
<li class="toctree-l4"><a class="reference internal" href="list.html#delete-buttons">Delete buttons</a></li>
<li class="toctree-l4"><a class="reference internal" href="list.html#manual-navigation">Manual navigation</a></li>
<li class="toctree-l4"><a class="reference internal" href="list.html#layout">Layout</a></li>
<li class="toctree-l4"><a class="reference internal" href="list.html#edge-flash">Edge flash</a></li>
<li class="toctree-l4"><a class="reference internal" href="list.html#scroll-propagation">Scroll propagation</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="list.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="list.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="list.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="list.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="list.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="list.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="linemeter.html">Line meter (lv_lmeter)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="linemeter.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="linemeter.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="linemeter.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="linemeter.html#set-value">Set value</a></li>
<li class="toctree-l4"><a class="reference internal" href="linemeter.html#range-and-angles">Range and Angles</a></li>
<li class="toctree-l4"><a class="reference internal" href="linemeter.html#angle-offset">Angle offset</a></li>
<li class="toctree-l4"><a class="reference internal" href="linemeter.html#mirror">Mirror</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="linemeter.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="linemeter.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="linemeter.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="linemeter.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="linemeter.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="linemeter.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="msgbox.html">Message box (lv_msgbox)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="msgbox.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="msgbox.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="msgbox.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="msgbox.html#set-text">Set text</a></li>
<li class="toctree-l4"><a class="reference internal" href="msgbox.html#add-buttons">Add buttons</a></li>
<li class="toctree-l4"><a class="reference internal" href="msgbox.html#auto-close">Auto-close</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="msgbox.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="msgbox.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="msgbox.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="msgbox.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="msgbox.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="objmask.html">Object mask (lv_objmask)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="objmask.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="objmask.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="objmask.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="objmask.html#adding-mask">Adding mask</a></li>
<li class="toctree-l4"><a class="reference internal" href="objmask.html#update-mask">Update mask</a></li>
<li class="toctree-l4"><a class="reference internal" href="objmask.html#remove-mask">Remove mask</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="objmask.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="objmask.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="objmask.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="objmask.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="objmask.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="objmask.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="page.html">Page (lv_page)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="page.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="page.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="page.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="page.html#scrollbars">Scrollbars</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#glue-object">Glue object</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#focus-object">Focus object</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#manual-navigation">Manual navigation</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#edge-flash">Edge flash</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#scroll-propagation">Scroll propagation</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="page.html#clean-the-page">Clean the page</a><ul>
<li class="toctree-l4"><a class="reference internal" href="page.html#scrollable-api">Scrollable API</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="page.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="page.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="page.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="page.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="roller.html">Roller (lv_roller)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="roller.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="roller.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="roller.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="roller.html#set-options">Set options</a></li>
<li class="toctree-l4"><a class="reference internal" href="roller.html#get-selected-option">Get selected option</a></li>
<li class="toctree-l4"><a class="reference internal" href="roller.html#align-the-options">Align the options</a></li>
<li class="toctree-l4"><a class="reference internal" href="roller.html#visible-rows">Visible rows</a></li>
<li class="toctree-l4"><a class="reference internal" href="roller.html#animation-time">Animation time</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="roller.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="roller.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="roller.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="roller.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="roller.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="roller.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="slider.html">Slider (lv_slider)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="slider.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="slider.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="slider.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="slider.html#value-and-range">Value and range</a></li>
<li class="toctree-l4"><a class="reference internal" href="slider.html#symmetrical-and-range">Symmetrical and Range</a></li>
<li class="toctree-l4"><a class="reference internal" href="slider.html#knob-only-mode">Knob-only mode</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="slider.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="slider.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="slider.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="slider.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="slider.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="slider.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="spinbox.html">Spinbox (lv_spinbox)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#parts-and-styles">Parts and Styles</a><ul>
<li class="toctree-l4"><a class="reference internal" href="spinbox.html#set-format">Set format</a></li>
<li class="toctree-l4"><a class="reference internal" href="spinbox.html#value-and-ranges">Value and ranges</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="spinbox.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="spinbox.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#api">API</a></li>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#id1">Example</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="spinner.html">Spinner (lv_spinner)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="spinner.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="spinner.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="spinner.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="spinner.html#arc-length">Arc length</a></li>
<li class="toctree-l4"><a class="reference internal" href="spinner.html#spinning-speed">Spinning speed</a></li>
<li class="toctree-l4"><a class="reference internal" href="spinner.html#spin-types">Spin types</a></li>
<li class="toctree-l4"><a class="reference internal" href="spinner.html#spin-direction">Spin direction</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="spinner.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="spinner.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="spinner.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="spinner.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="spinner.html#id1">MicroPython</a></li>
<li class="toctree-l4"><a class="reference internal" href="spinner.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="spinner.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="switch.html">Switch (lv_switch)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="switch.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="switch.html#parts-and-styles">Parts and Styles</a><ul>
<li class="toctree-l4"><a class="reference internal" href="switch.html#change-state">Change state</a></li>
<li class="toctree-l4"><a class="reference internal" href="switch.html#animation-time">Animation time</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="switch.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="switch.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="switch.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="switch.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="switch.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="switch.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="table.html">Table (lv_table)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="table.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="table.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="table.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="table.html#rows-and-columns">Rows and Columns</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#width-and-height">Width and Height</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#set-cell-value">Set cell value</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#align">Align</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#cell-type">Cell type</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#merge-cells">Merge cells</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#crop-text">Crop text</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#scroll">Scroll</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="table.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="table.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="table.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="table.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#id1">MicroPython</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="table.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="tabview.html">Tabview (lv_tabview)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="tabview.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="tabview.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="tabview.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#adding-tab">Adding tab</a></li>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#change-tab">Change tab</a></li>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#change-tab-s-name">Change tab's name</a></li>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#tab-button-s-position">Tab button's position</a></li>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#animation-time">Animation time</a></li>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#scroll-propagation">Scroll propagation</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="tabview.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="tabview.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="tabview.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="tabview.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="textarea.html">Text area (lv_textarea)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="textarea.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="textarea.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="textarea.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#add-text">Add text</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#placeholder">Placeholder</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#delete-character">Delete character</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#move-the-cursor">Move the cursor</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#hide-the-cursor">Hide the cursor</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#cursor-blink-time">Cursor blink time</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#one-line-mode">One line mode</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#password-mode">Password mode</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#text-align">Text align</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#accepted-characters">Accepted characters</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#max-text-length">Max text length</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#very-long-texts">Very long texts</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#select-text">Select text</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#scrollbars">Scrollbars</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#scroll-propagation">Scroll propagation</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#edge-flash">Edge flash</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="textarea.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="textarea.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="textarea.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="textarea.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="tileview.html">Tile view (lv_tileview)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="tileview.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="tileview.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="tileview.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#valid-positions">Valid positions</a></li>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#set-tile">Set tile</a></li>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#add-element">Add element</a></li>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#scroll-propagation">Scroll propagation</a></li>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#animation-time">Animation time</a></li>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#edge-flash">Edge flash</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="tileview.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="tileview.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="tileview.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="tileview.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="win.html">Window (lv_win)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="win.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="win.html#parts-and-styles">Parts and Styles</a><ul>
<li class="toctree-l4"><a class="reference internal" href="win.html#title">Title</a></li>
<li class="toctree-l4"><a class="reference internal" href="win.html#control-buttons">Control buttons</a></li>
<li class="toctree-l4"><a class="reference internal" href="win.html#scrollbars">Scrollbars</a></li>
<li class="toctree-l4"><a class="reference internal" href="win.html#manual-scroll-and-focus">Manual scroll and focus</a></li>
<li class="toctree-l4"><a class="reference internal" href="win.html#layout">Layout</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="win.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="win.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="win.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="win.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="win.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="win.html#api">API</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../contributing/index.html">Contributing</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../contributing/index.html#introduction">Introduction</a></li>
<li class="toctree-l2"><a class="reference internal" href="../contributing/index.html#pull-request">Pull request</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#from-github">From GitHub</a></li>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#from-command-line">From command line</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../contributing/index.html#developer-certification-of-origin-dco">Developer Certification of Origin (DCO)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#accepted-licenses-and-copyright-notices">Accepted licenses and copyright notices</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../contributing/index.html#your-own-work">Your own work</a></li>
<li class="toctree-l4"><a class="reference internal" href="../contributing/index.html#use-code-from-online-source">Use code from online source</a></li>
<li class="toctree-l4"><a class="reference internal" href="../contributing/index.html#use-mit-licensed-code">Use MIT licensed code</a></li>
<li class="toctree-l4"><a class="reference internal" href="../contributing/index.html#use-gpl-licensed-code">Use GPL licensed code</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../contributing/index.html#when-you-get-started-with-lvgl">When you get started with LVGL</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#give-lvgl-a-star">Give LVGL a Star</a></li>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#tell-what-you-have-achieved">Tell what you have achieved</a></li>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#write-examples">Write examples</a></li>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#improve-the-docs">Improve the docs</a></li>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#translate-the-docs">Translate the docs</a></li>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#write-a-blog-post">Write a blog post</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../contributing/index.html#when-you-already-use-lvgl">When you already use LVGL</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#give-feedback">Give feedback</a></li>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#report-bugs">Report bugs</a></li>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#send-fixes">Send fixes</a></li>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#join-the-conversations-in-the-forum">Join the conversations in the Forum</a></li>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#add-features">Add features</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../contributing/index.html#when-you-are-confident-with-lvgl">When you are confident with LVGL</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#become-a-maintainer">Become a maintainer</a></li>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#move-your-project-repository-under-lvgl-organization">Move your project repository under LVGL organization</a></li>
</ul>
</li>
</ul>
</li>
</ul>

            
          
        </div>
        
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="../index.html">LVGL</a>
        
      </nav>


      <div class="wy-nav-content">
        
        <div class="rst-content">
        
          

















<div role="navigation" aria-label="breadcrumbs navigation">

  <ul class="wy-breadcrumbs">
    
      <li><a href="../index.html" class="icon icon-home"></a> &raquo;</li>
        
          <li><a href="index.html">Widgets</a> &raquo;</li>
        
      <li>Base object (lv_obj)</li>
    
    
      <li class="wy-breadcrumbs-aside">
        
            
            
              <!-- User defined GitHub URL -->
              <a href="https://github.com/lvgl/docs/blob/latest/widgets/obj.md" class="fa fa-github"> Edit on GitHub</a>
            
          
        
      </li>
    
  </ul>

  
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
  <div class="section" id="base-object-lv-obj">
<h1>Base object (lv_obj)<a class="headerlink" href="#base-object-lv-obj" title="Permalink to this headline">¶</a></h1>
<div class="section" id="overview">
<h2>Overview<a class="headerlink" href="#overview" title="Permalink to this headline">¶</a></h2>
<p>The 'Base Object' implements the basic properties of widgets on a screen, such as:</p>
<ul class="simple">
<li><p>coordinates</p></li>
<li><p>parent object</p></li>
<li><p>children</p></li>
<li><p>main style</p></li>
<li><p>attributes like <em>Click enable</em>, <em>Drag enable</em>, etc.</p></li>
</ul>
<p>In object-oriented thinking, it is the base class from which all other objects in LVGL are inherited. This, among another things, helps reduce code duplication.</p>
<p>The functions and functionalities of Base object can be used with other widgets too. For example <code class="docutils literal notranslate"><span class="pre">lv_obj_set_width(slider,</span> <span class="pre">100)</span></code></p>
<p>The Base object can be directly used as a simple widgets. It nothing else then a rectangle.</p>
<div class="section" id="coordinates">
<h3>Coordinates<a class="headerlink" href="#coordinates" title="Permalink to this headline">¶</a></h3>
<div class="section" id="size">
<h4>Size<a class="headerlink" href="#size" title="Permalink to this headline">¶</a></h4>
<p>The object size can be modified on individual axes with <code class="docutils literal notranslate"><span class="pre">lv_obj_set_width(obj,</span> <span class="pre">new_width)</span></code> and <code class="docutils literal notranslate"><span class="pre">lv_obj_set_height(obj,</span> <span class="pre">new_height)</span></code>, or both axes can be modified at the same time with <code class="docutils literal notranslate"><span class="pre">lv_obj_set_size(obj,</span> <span class="pre">new_width,</span> <span class="pre">new_height)</span></code>.</p>
<p>Styles can add <a class="reference external" href="/overview/style/#properties">Margin</a> to the objects. Margin tells that &quot;I want this space around me&quot;.
To set width or height reduced by the margin <code class="docutils literal notranslate"><span class="pre">lv_obj_set_width_margin(obj,</span> <span class="pre">new_width)</span></code> or <code class="docutils literal notranslate"><span class="pre">lv_obj_set_height_margin(obj,</span> <span class="pre">new_height)</span></code>.
In more exact way: <code class="docutils literal notranslate"><span class="pre">new_width</span> <span class="pre">=</span> <span class="pre">left_margin</span> <span class="pre">+</span> <span class="pre">object_width</span> <span class="pre">+</span> <span class="pre">right_margin</span></code>.</p>
<p>To get the width or height which includes the margins use <code class="docutils literal notranslate"><span class="pre">lv_obj_get_width/height_margin(obj)</span></code>.</p>
<p>Styles can add <a class="reference external" href="/overview/style/#properties">Padding</a> to the object as well. Padding means &quot;I don't want my children too close to my sides, so keep this space&quot;.
To set width or height reduced by the padding <code class="docutils literal notranslate"><span class="pre">lv_obj_set_width_fit(obj,</span> <span class="pre">new_width)</span></code> or <code class="docutils literal notranslate"><span class="pre">lv_obj_set_height_fit(obj,</span> <span class="pre">new_height)</span></code>.<br />In a more exact way: <code class="docutils literal notranslate"><span class="pre">new_width</span> <span class="pre">=</span> <span class="pre">left_pad</span> <span class="pre">+</span> <span class="pre">object_width</span> <span class="pre">+</span> <span class="pre">right_pad</span></code>
To get the width or height which is REDUCED by padding use <code class="docutils literal notranslate"><span class="pre">lv_obj_get_width/height_fit(obj)</span></code>. It can be considered the &quot;useful size of the object&quot;.</p>
<p>Margin and padding gets important when <a class="reference external" href="/widget/cont#layout">Layout</a> or <a class="reference external" href="/wisgets/cont#fit">Auto-fit</a> is used by other widgets.</p>
</div>
<div class="section" id="position">
<h4>Position<a class="headerlink" href="#position" title="Permalink to this headline">¶</a></h4>
<p>You can set the x and y coordinates relative to the parent with <code class="docutils literal notranslate"><span class="pre">lv_obj_set_x(obj,</span> <span class="pre">new_x)</span></code> and <code class="docutils literal notranslate"><span class="pre">lv_obj_set_y(obj,</span> <span class="pre">new_y)</span></code>, or both at the same time with <code class="docutils literal notranslate"><span class="pre">lv_obj_set_pos(obj,</span> <span class="pre">new_x,</span> <span class="pre">new_y)</span></code>.</p>
</div>
<div class="section" id="alignment">
<h4>Alignment<a class="headerlink" href="#alignment" title="Permalink to this headline">¶</a></h4>
<p>You can align the object to another with <code class="docutils literal notranslate"><span class="pre">lv_obj_align(obj,</span> <span class="pre">obj_ref,</span> <span class="pre">LV_ALIGN_...,</span> <span class="pre">x_ofs,</span> <span class="pre">y_ofs)</span></code>.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code> is the object to align.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">obj_ref</span></code> is a reference object. <code class="docutils literal notranslate"><span class="pre">obj</span></code> will be aligned to it. If <code class="docutils literal notranslate"><span class="pre">obj_ref</span> <span class="pre">=</span> <span class="pre">NULL</span></code>, then the parent of <code class="docutils literal notranslate"><span class="pre">obj</span></code> will be used.</p></li>
<li><p>The third argument is the <em>type</em> of alignment. These are the possible options:
<img alt="../_images/align.png" src="../_images/align.png" /></p>
<p>The alignment types build like <code class="docutils literal notranslate"><span class="pre">LV_ALIGN_OUT_TOP_MID</span></code>.</p>
</li>
<li><p>The last two arguments allow you to shift the object by a specified number of pixels after aligning it.</p></li>
</ul>
<p>For example, to align a text below an image: <code class="docutils literal notranslate"><span class="pre">lv_obj_align(text,</span> <span class="pre">image,</span> <span class="pre">LV_ALIGN_OUT_BOTTOM_MID,</span> <span class="pre">0,</span> <span class="pre">10)</span></code>.
Or to align a text in the middle of its parent: <code class="docutils literal notranslate"><span class="pre">lv_obj_align(text,</span> <span class="pre">NULL,</span> <span class="pre">LV_ALIGN_CENTER,</span> <span class="pre">0,</span> <span class="pre">0)</span></code>.</p>
<p><code class="docutils literal notranslate"><span class="pre">lv_obj_align_origo</span></code> works similarly to <code class="docutils literal notranslate"><span class="pre">lv_obj_align</span></code> but it aligns the center of the object.</p>
<p>For example, <code class="docutils literal notranslate"><span class="pre">lv_obj_align_origo(btn,</span> <span class="pre">image,</span> <span class="pre">LV_ALIGN_OUT_BOTTOM_MID,</span> <span class="pre">0,</span> <span class="pre">0)</span></code> will align the center of the button the bottom of the image.</p>
<p>The parameters of the alignment will be saved in the object if <code class="docutils literal notranslate"><span class="pre">LV_USE_OBJ_REALIGN</span></code> is enabled in <em>lv_conf.h</em>. You can then realign the objects simply by calling <code class="docutils literal notranslate"><span class="pre">lv_obj_realign(obj)</span></code>.
It's equivalent to calling <code class="docutils literal notranslate"><span class="pre">lv_obj_align</span></code> again with the same parameters.</p>
<p>If the alignment happened with <code class="docutils literal notranslate"><span class="pre">lv_obj_align_origo</span></code>, then it will be used when the object is realigned.</p>
<p>The <code class="docutils literal notranslate"><span class="pre">lv_obj_align_x/y</span></code> and <code class="docutils literal notranslate"><span class="pre">lv_obj_align_origo_x/y</span></code> function can be used t align only on one axis.</p>
<p>If <code class="docutils literal notranslate"><span class="pre">lv_obj_set_auto_realign(obj,</span> <span class="pre">true)</span></code> is used the object will be realigned automatically, if its size changes in <code class="docutils literal notranslate"><span class="pre">lv_obj_set_width/height/size()</span></code> functions.
It's very useful when size animations are applied to the object and the original position needs to be kept.</p>
<p><strong>Note that the coordinates of screens can't be changed. Attempting to use these functions on screens will result in undefined behavior.</strong></p>
</div>
</div>
<div class="section" id="parents-and-children">
<h3>Parents and children<a class="headerlink" href="#parents-and-children" title="Permalink to this headline">¶</a></h3>
<p>You can set a new parent for an object with <code class="docutils literal notranslate"><span class="pre">lv_obj_set_parent(obj,</span> <span class="pre">new_parent)</span></code>. To get the current parent, use <code class="docutils literal notranslate"><span class="pre">lv_obj_get_parent(obj)</span></code>.</p>
<p>To get the children of an object, use <code class="docutils literal notranslate"><span class="pre">lv_obj_get_child(obj,</span> <span class="pre">child_prev)</span></code> (from last to first) or <code class="docutils literal notranslate"><span class="pre">lv_obj_get_child_back(obj,</span> <span class="pre">child_prev)</span></code> (from first to last).
To get the first child, pass <code class="docutils literal notranslate"><span class="pre">NULL</span></code> as the second parameter and use the return value to iterate through the children. The function will return <code class="docutils literal notranslate"><span class="pre">NULL</span></code> if there are no more children. For example:</p>
<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="n">lv_obj_t</span> <span class="o">*</span> <span class="n">child</span> <span class="o">=</span> <span class="n">lv_obj_get_child</span><span class="p">(</span><span class="n">parent</span><span class="p">,</span> <span class="nb">NULL</span><span class="p">);</span>
<span class="k">while</span><span class="p">(</span><span class="n">child</span><span class="p">)</span> <span class="p">{</span>
    <span class="cm">/*Do something with &quot;child&quot; */</span>
    <span class="n">child</span> <span class="o">=</span> <span class="n">lv_obj_get_child</span><span class="p">(</span><span class="n">parent</span><span class="p">,</span> <span class="n">child</span><span class="p">);</span>
<span class="p">}</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">lv_obj_count_children(obj)</span></code> tells the number of children on an object. <code class="docutils literal notranslate"><span class="pre">lv_obj_count_children_recursive(obj)</span></code> also tells the number of children but counts children of children recursively.</p>
</div>
<div class="section" id="screens">
<h3>Screens<a class="headerlink" href="#screens" title="Permalink to this headline">¶</a></h3>
<p>When you have created a screen like <code class="docutils literal notranslate"><span class="pre">lv_obj_t</span> <span class="pre">*</span> <span class="pre">screen</span> <span class="pre">=</span> <span class="pre">lv_obj_create(NULL,</span> <span class="pre">NULL)</span></code>, you can load it with <code class="docutils literal notranslate"><span class="pre">lv_scr_load(screen)</span></code>. The <code class="docutils literal notranslate"><span class="pre">lv_scr_act()</span></code> function gives you a pointer to the current screen.</p>
<p>If you have more display then it's important to know that these functions operate on the lastly created or the explicitly selected (with <code class="docutils literal notranslate"><span class="pre">lv_disp_set_default</span></code>) display.</p>
<p>To get an object's screen use the <code class="docutils literal notranslate"><span class="pre">lv_obj_get_screen(obj)</span></code> function.</p>
</div>
<div class="section" id="layers">
<h3>Layers<a class="headerlink" href="#layers" title="Permalink to this headline">¶</a></h3>
<p>There are two  automatically generated layers:</p>
<ul class="simple">
<li><p>top layer</p></li>
<li><p>system layer</p></li>
</ul>
<p>They are independent of the screens and they will be shown on every screen. The <em>top layer</em> is above every object on the screen and the <em>system layer</em> is above the <em>top layer</em> too.
You can add any pop-up windows to the <em>top layer</em> freely. But, the <em>system layer</em> is restricted to system-level things (e.g. mouse cursor will be placed here in <code class="docutils literal notranslate"><span class="pre">lv_indev_set_cursor()</span></code>).</p>
<p>The <code class="docutils literal notranslate"><span class="pre">lv_layer_top()</span></code> and <code class="docutils literal notranslate"><span class="pre">lv_layer_sys()</span></code> functions gives a pointer to the top or system layer.</p>
<p>You can bring an object to the foreground or send it to the background with <code class="docutils literal notranslate"><span class="pre">lv_obj_move_foreground(obj)</span></code> and <code class="docutils literal notranslate"><span class="pre">lv_obj_move_background(obj)</span></code>.</p>
<p>Read the <a class="reference internal" href="../overview/layer.html"><span class="doc">Layer overview</span></a> section to learn more about layers.</p>
</div>
<div class="section" id="events">
<h3>Events<a class="headerlink" href="#events" title="Permalink to this headline">¶</a></h3>
<p>To set an event callback for an object, use <code class="docutils literal notranslate"><span class="pre">lv_obj_set_event_cb(obj,</span> <span class="pre">event_cb)</span></code>,</p>
<p>To manually send an event to an object, use <code class="docutils literal notranslate"><span class="pre">lv_event_send(obj,</span> <span class="pre">LV_EVENT_...,</span> <span class="pre">data)</span></code></p>
<p>Read the <a class="reference internal" href="../overview/event.html"><span class="doc">Event overview</span></a> to learn more about the events.</p>
</div>
</div>
<div class="section" id="parts">
<h2>Parts<a class="headerlink" href="#parts" title="Permalink to this headline">¶</a></h2>
<p>The widgets can have multiple parts. For example a <a class="reference internal" href="btn.html"><span class="doc">Button</span></a> has only a main part but a <a class="reference internal" href="slider.html"><span class="doc">Slider</span></a> is built from a background, an indicator and a knob.</p>
<p>The name of the parts is constructed like <code class="docutils literal notranslate"><span class="pre">LV_</span> <span class="pre">+</span> <span class="pre">&lt;TYPE&gt;</span> <span class="pre">_PART_</span> <span class="pre">&lt;NAME&gt;</span></code>. For example <code class="docutils literal notranslate"><span class="pre">LV_BTN_PART_MAIN</span></code> or <code class="docutils literal notranslate"><span class="pre">LV_SLIDER_PART_KNOB</span></code>. The parts are usually used when styles are add to the objects.
Using parts different styles can be assigned to the different parts of the objects.</p>
<p>To learn more about the parts read the related section of the <a class="reference external" href="/overview/style#parts">Style overview</a>.</p>
<div class="section" id="states">
<h3>States<a class="headerlink" href="#states" title="Permalink to this headline">¶</a></h3>
<p>The object can be in a combinations of the following states:</p>
<ul class="simple">
<li><p><strong>LV_STATE_DEFAULT</strong>  Normal, released</p></li>
<li><p><strong>LV_STATE_CHECKED</strong> Toggled or checked</p></li>
<li><p><strong>LV_STATE_FOCUSED</strong> Focused via keypad or encoder or clicked via touchpad/mouse</p></li>
<li><p><strong>LV_STATE_EDITED</strong>  Edit by an encoder</p></li>
<li><p><strong>LV_STATE_HOVERED</strong> Hovered by mouse (not supported now)</p></li>
<li><p><strong>LV_STATE_PRESSED</strong> Pressed</p></li>
<li><p><strong>LV_STATE_DISABLED</strong> Disabled or inactive</p></li>
</ul>
<p>The states are usually automatically changed by the library as the user presses, releases, focuses etc an object.
However, the states can be changed manually too. To completely overwrite the current state use <code class="docutils literal notranslate"><span class="pre">lv_obj_set_state(obj,</span> <span class="pre">part,</span> <span class="pre">LV_STATE...)</span></code>.
To set or clear given state (but leave to other states untouched) use <code class="docutils literal notranslate"><span class="pre">lv_obj_add/clear_state(obj,</span> <span class="pre">part,</span> <span class="pre">LV_STATE_...)</span></code>
In both cases ORed state values can be used as well. E.g. <code class="docutils literal notranslate"><span class="pre">lv_obj_set_state(obj,</span> <span class="pre">part,</span> <span class="pre">LV_STATE_PRESSED</span> <span class="pre">|</span> <span class="pre">LV_PRESSED_CHECKED)</span></code>.</p>
<p>To learn more about the states read the related section of the <a class="reference external" href="/overview/style#states">Style overview</a>.</p>
</div>
<div class="section" id="style">
<h3>Style<a class="headerlink" href="#style" title="Permalink to this headline">¶</a></h3>
<p>Be sure to read the <a class="reference internal" href="../overview/style.html"><span class="doc">Style overview</span></a> first.</p>
<p>To add a style to an object use <code class="docutils literal notranslate"><span class="pre">lv_obj_add_style(obj,</span> <span class="pre">part,</span> <span class="pre">&amp;new_style)</span></code> function. The Base object use all the rectangle-like style properties.</p>
<p>To remove all styles from an object use <code class="docutils literal notranslate"><span class="pre">lv_obj_reset_style_list(obj,</span> <span class="pre">part)</span></code></p>
<p>If you modify a style, which is already used by objects, in order to refresh the affected objects you can use either <code class="docutils literal notranslate"><span class="pre">lv_obj_refresh_style(obj)</span></code> on each object using it or
to notify all objects with a given style use <code class="docutils literal notranslate"><span class="pre">lv_obj_report_style_mod(&amp;style)</span></code>. If the parameter of <code class="docutils literal notranslate"><span class="pre">lv_obj_report_style_mod</span></code> is <code class="docutils literal notranslate"><span class="pre">NULL</span></code>, all objects will be notified.</p>
</div>
<div class="section" id="attributes">
<h3>Attributes<a class="headerlink" href="#attributes" title="Permalink to this headline">¶</a></h3>
<p>There are some attributes which can be enabled/disabled by <code class="docutils literal notranslate"><span class="pre">lv_obj_set_...(obj,</span> <span class="pre">true/false)</span></code>:</p>
<ul class="simple">
<li><p><strong>hidden</strong> -  Hide the object. It will not be drawn and will be considered by input devices as if it doesn't exist., Its children will be hidden too.</p></li>
<li><p><strong>click</strong> -  Allows you to click the object via input devices. If disabled, then click events are passed to the object behind this one. (E.g. <a class="reference internal" href="label.html"><span class="doc">Labels</span></a> are not clickable by default)</p></li>
<li><p><strong>top</strong> -  If enabled then when this object or any of its children is clicked then this object comes to the foreground.</p></li>
<li><p><strong>drag</strong> - Enable dragging (moving by an input device)</p></li>
<li><p><strong>drag_dir</strong> - Enable dragging only in specific directions. Can be <code class="docutils literal notranslate"><span class="pre">LV_DRAG_DIR_HOR/VER/ALL</span></code>.</p></li>
<li><p><strong>drag_throw</strong> - Enable &quot;throwing&quot; with dragging as if the object would have momentum</p></li>
<li><p><strong>drag_parent</strong> - If enabled then the object's parent will be moved during dragging. It will look like as if the parent is dragged. Checked recursively, so can propagate to grandparents too.</p></li>
<li><p><strong>parent_event</strong> - Propagate the events to the parents too. Checked recursively, so can propagate to grandparents too.</p></li>
<li><p><strong>opa_scale_enable</strong> - Enable opacity scaling. See the [#opa-scale](Opa scale) section.</p></li>
</ul>
</div>
<div class="section" id="protect">
<h3>Protect<a class="headerlink" href="#protect" title="Permalink to this headline">¶</a></h3>
<p>There are some specific actions which happen automatically in the library.
To prevent one or more that kind of actions, you can protect the object against them. The following protections exists:</p>
<ul class="simple">
<li><p><strong>LV_PROTECT_NONE</strong> No protection</p></li>
<li><p><strong>LV_PROTECT_POS</strong>  Prevent automatic positioning (e.g.  Layout in <a class="reference internal" href="cont.html"><span class="doc">Containers</span></a>)</p></li>
<li><p><strong>LV_PROTECT_FOLLOW</strong> Prevent the object be followed (make a &quot;line break&quot;) in automatic ordering (e.g. Layout in <a class="reference internal" href="cont.html"><span class="doc">Containers</span></a>)</p></li>
<li><p><strong>LV_PROTECT_PARENT</strong> Prevent automatic parent change. (e.g. <a class="reference internal" href="page.html"><span class="doc">Page</span></a> moves the children created on the background to the scrollable)</p></li>
<li><p><strong>LV_PROTECT_PRESS_LOST</strong> Prevent losing press when the press is slid out of the objects. (E.g. a <a class="reference internal" href="btn.html"><span class="doc">Button</span></a> can be released out of it if it was being pressed)</p></li>
<li><p><strong>LV_PROTECT_CLICK_FOCUS</strong> Prevent automatically focusing the object if it's in a <em>Group</em> and click focus is enabled.</p></li>
<li><p><strong>LV_PROTECT_CHILD_CHG</strong> Disable the child change signal. Used internally by the library</p></li>
</ul>
<p>The <code class="docutils literal notranslate"><span class="pre">lv_obj_add/clear_protect(obj,</span> <span class="pre">LV_PROTECT_...)</span></code> sets/clears the protection. You can use <em>'OR'ed</em> values of protection types too.</p>
</div>
<div class="section" id="groups">
<h3>Groups<a class="headerlink" href="#groups" title="Permalink to this headline">¶</a></h3>
<p>Once, an object is added to <em>group</em> with <code class="docutils literal notranslate"><span class="pre">lv_group_add_obj(group,</span> <span class="pre">obj)</span></code> the object's current group can be get with <code class="docutils literal notranslate"><span class="pre">lv_obj_get_group(obj)</span></code>.</p>
<p><code class="docutils literal notranslate"><span class="pre">lv_obj_is_focused(obj)</span></code> tells if the object is currently focused on its group or not. If the object is not added to a group, <code class="docutils literal notranslate"><span class="pre">false</span></code> will be returned.</p>
<p>Read the <a class="reference internal" href="../overview/indev.html"><span class="doc">Input devices overview</span></a> to learn more about the <em>Groups</em>.</p>
</div>
<div class="section" id="extended-click-area">
<h3>Extended click area<a class="headerlink" href="#extended-click-area" title="Permalink to this headline">¶</a></h3>
<p>By default, the objects can be clicked only on their coordinates, however, this area can be extended with <code class="docutils literal notranslate"><span class="pre">lv_obj_set_ext_click_area(obj,</span> <span class="pre">left,</span> <span class="pre">right,</span> <span class="pre">top,</span> <span class="pre">bottom)</span></code>.
<code class="docutils literal notranslate"><span class="pre">left/right/top/bottom</span></code> describes how far the clickable area should extend past the default in each direction.</p>
<p>This feature needs to enabled in <em>lv_conf.h</em> with <code class="docutils literal notranslate"><span class="pre">LV_USE_EXT_CLICK_AREA</span></code>. The possible values are:</p>
<ul class="simple">
<li><p><strong>LV_EXT_CLICK_AREA_FULL</strong> store all 4 coordinates as <code class="docutils literal notranslate"><span class="pre">lv_coord_t</span></code></p></li>
<li><p><strong>LV_EXT_CLICK_AREA_TINY</strong> store only horizontal and vertical coordinates (use the greater value of left/right and top/bottom) as <code class="docutils literal notranslate"><span class="pre">uint8_t</span></code></p></li>
<li><p><strong>LV_EXT_CLICK_AREA_OFF</strong> Disable this feature</p></li>
</ul>
</div>
</div>
<div class="section" id="id1">
<h2>Events<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
<p>Only the <a class="reference external" href="../overview/event.html#generic-events">Generic events</a> are sent by the object type.</p>
<p>Learn more about <a class="reference internal" href="../overview/event.html"><span class="doc">Events</span></a>.</p>
</div>
<div class="section" id="keys">
<h2>Keys<a class="headerlink" href="#keys" title="Permalink to this headline">¶</a></h2>
<p>No <em>Keys</em> are processed by the object type.</p>
<p>Learn more about <a class="reference internal" href="../overview/indev.html"><span class="doc">Keys</span></a>.</p>
</div>
<div class="section" id="example">
<h2>Example<a class="headerlink" href="#example" title="Permalink to this headline">¶</a></h2>
<div class="section" id="c">
<h3>C<a class="headerlink" href="#c" title="Permalink to this headline">¶</a></h3>
<div class="section" id="base-objects-with-custom-styles">
<h4>Base objects with custom styles<a class="headerlink" href="#base-objects-with-custom-styles" title="Permalink to this headline">¶</a></h4>
<iframe class='lv-example' src='../_static/built_lv_examples/lv_ex_obj_1/?w=320&h=240'></iframe><div class="toggle docutils container">
<div class="header docutils container">
<p>code</p>
</div>
<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="cp">#include</span> <span class="cpf">&quot;../../../lv_examples.h&quot;</span><span class="cp"></span>

<span class="kt">void</span> <span class="nf">lv_ex_obj_1</span><span class="p">(</span><span class="kt">void</span><span class="p">)</span>
<span class="p">{</span>
    <span class="n">lv_obj_t</span> <span class="o">*</span> <span class="n">obj1</span><span class="p">;</span>
    <span class="n">obj1</span> <span class="o">=</span> <span class="n">lv_obj_create</span><span class="p">(</span><span class="n">lv_scr_act</span><span class="p">(),</span> <span class="nb">NULL</span><span class="p">);</span>
    <span class="n">lv_obj_set_size</span><span class="p">(</span><span class="n">obj1</span><span class="p">,</span> <span class="mi">100</span><span class="p">,</span> <span class="mi">50</span><span class="p">);</span>
    <span class="n">lv_obj_align</span><span class="p">(</span><span class="n">obj1</span><span class="p">,</span> <span class="nb">NULL</span><span class="p">,</span> <span class="n">LV_ALIGN_CENTER</span><span class="p">,</span> <span class="mi">-60</span><span class="p">,</span> <span class="mi">-30</span><span class="p">);</span>

    <span class="cm">/*Copy the previous object and enable drag*/</span>
    <span class="n">lv_obj_t</span> <span class="o">*</span> <span class="n">obj2</span><span class="p">;</span>
    <span class="n">obj2</span> <span class="o">=</span> <span class="n">lv_obj_create</span><span class="p">(</span><span class="n">lv_scr_act</span><span class="p">(),</span> <span class="n">obj1</span><span class="p">);</span>
    <span class="n">lv_obj_align</span><span class="p">(</span><span class="n">obj2</span><span class="p">,</span> <span class="nb">NULL</span><span class="p">,</span> <span class="n">LV_ALIGN_CENTER</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="mi">0</span><span class="p">);</span>
    <span class="n">lv_obj_set_drag</span><span class="p">(</span><span class="n">obj2</span><span class="p">,</span> <span class="nb">true</span><span class="p">);</span>

    <span class="k">static</span> <span class="n">lv_style_t</span> <span class="n">style_shadow</span><span class="p">;</span>
    <span class="n">lv_style_init</span><span class="p">(</span><span class="o">&amp;</span><span class="n">style_shadow</span><span class="p">);</span>
    <span class="n">lv_style_set_shadow_width</span><span class="p">(</span><span class="o">&amp;</span><span class="n">style_shadow</span><span class="p">,</span> <span class="n">LV_STATE_DEFAULT</span><span class="p">,</span> <span class="mi">10</span><span class="p">);</span>
    <span class="n">lv_style_set_shadow_spread</span><span class="p">(</span><span class="o">&amp;</span><span class="n">style_shadow</span><span class="p">,</span> <span class="n">LV_STATE_DEFAULT</span><span class="p">,</span> <span class="mi">5</span><span class="p">);</span>
    <span class="n">lv_style_set_shadow_color</span><span class="p">(</span><span class="o">&amp;</span><span class="n">style_shadow</span><span class="p">,</span> <span class="n">LV_STATE_DEFAULT</span><span class="p">,</span> <span class="n">LV_COLOR_BLUE</span><span class="p">);</span>

    <span class="cm">/*Copy the previous object (drag is already enabled)*/</span>
    <span class="n">lv_obj_t</span> <span class="o">*</span> <span class="n">obj3</span><span class="p">;</span>
    <span class="n">obj3</span> <span class="o">=</span> <span class="n">lv_obj_create</span><span class="p">(</span><span class="n">lv_scr_act</span><span class="p">(),</span> <span class="n">obj2</span><span class="p">);</span>
    <span class="n">lv_obj_add_style</span><span class="p">(</span><span class="n">obj3</span><span class="p">,</span> <span class="n">LV_OBJ_PART_MAIN</span><span class="p">,</span> <span class="o">&amp;</span><span class="n">style_shadow</span><span class="p">);</span>
    <span class="n">lv_obj_align</span><span class="p">(</span><span class="n">obj3</span><span class="p">,</span> <span class="nb">NULL</span><span class="p">,</span> <span class="n">LV_ALIGN_CENTER</span><span class="p">,</span> <span class="mi">60</span><span class="p">,</span> <span class="mi">30</span><span class="p">);</span>
<span class="p">}</span>
</pre></div>
</div>
</div>
</div>
</div>
<div class="section" id="micropython">
<h3>MicroPython<a class="headerlink" href="#micropython" title="Permalink to this headline">¶</a></h3>
<div class="section" id="id2">
<h4>Base objects with custom styles<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h4>
Click to try in the simulator!<br/><a target='_blank' href='https://sim.lvgl.io/v7/micropython/ports/javascript/bundle_out/index.html?script_startup=https://raw.githubusercontent.com/lvgl/lv_demos/release/v7/src/header.py&script=https://raw.githubusercontent.com/lvgl/lv_examples/9ebc61df6b7be07bd2fb4257fec49bf0dd178e2d/lv_ex_obj_1/lv_ex_obj_1.py'><img alt='lv_ex_obj_1' src='https://raw.githubusercontent.com/lvgl/lv_examples/9ebc61df6b7be07bd2fb4257fec49bf0dd178e2d/lv_ex_obj_1/lv_ex_obj_1.png'/></a><div class="toggle docutils container">
<div class="header docutils container">
<p>code</p>
</div>
<div class="highlight-py notranslate"><div class="highlight"><pre><span></span><span class="n">obj1</span> <span class="o">=</span> <span class="n">lv</span><span class="o">.</span><span class="n">obj</span><span class="p">(</span><span class="n">lv</span><span class="o">.</span><span class="n">scr_act</span><span class="p">(),</span><span class="kc">None</span><span class="p">)</span>
<span class="n">obj1</span><span class="o">.</span><span class="n">set_size</span><span class="p">(</span><span class="mi">100</span><span class="p">,</span><span class="mi">50</span><span class="p">)</span>
<span class="n">obj1</span><span class="o">.</span><span class="n">align</span><span class="p">(</span><span class="kc">None</span><span class="p">,</span><span class="n">lv</span><span class="o">.</span><span class="n">ALIGN</span><span class="o">.</span><span class="n">CENTER</span><span class="p">,</span> <span class="o">-</span><span class="mi">60</span><span class="p">,</span> <span class="o">-</span><span class="mi">30</span><span class="p">)</span>

<span class="c1"># Copy the previous object and enable drag</span>
<span class="n">obj2</span> <span class="o">=</span> <span class="n">lv</span><span class="o">.</span><span class="n">obj</span><span class="p">(</span><span class="n">lv</span><span class="o">.</span><span class="n">scr_act</span><span class="p">(),</span><span class="n">obj1</span><span class="p">)</span>
<span class="c1">#obj2.set_size(100,50)</span>
<span class="n">obj2</span><span class="o">.</span><span class="n">align</span><span class="p">(</span><span class="kc">None</span><span class="p">,</span><span class="n">lv</span><span class="o">.</span><span class="n">ALIGN</span><span class="o">.</span><span class="n">CENTER</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="mi">0</span><span class="p">)</span>
<span class="n">obj2</span><span class="o">.</span><span class="n">set_drag</span><span class="p">(</span><span class="kc">True</span><span class="p">)</span>

<span class="c1"># create style</span>
<span class="n">style_shadow</span> <span class="o">=</span> <span class="n">lv</span><span class="o">.</span><span class="n">style_t</span><span class="p">()</span>
<span class="n">style_shadow</span><span class="o">.</span><span class="n">init</span><span class="p">()</span>
<span class="n">style_shadow</span><span class="o">.</span><span class="n">set_shadow_width</span><span class="p">(</span><span class="n">lv</span><span class="o">.</span><span class="n">STATE</span><span class="o">.</span><span class="n">DEFAULT</span><span class="p">,</span> <span class="mi">10</span><span class="p">)</span>
<span class="n">style_shadow</span><span class="o">.</span><span class="n">set_shadow_spread</span><span class="p">(</span><span class="n">lv</span><span class="o">.</span><span class="n">STATE</span><span class="o">.</span><span class="n">DEFAULT</span><span class="p">,</span> <span class="mi">5</span><span class="p">)</span>
<span class="n">LV_COLOR_BLUE</span><span class="o">=</span><span class="n">lv</span><span class="o">.</span><span class="n">color_hex3</span><span class="p">(</span><span class="mh">0xF</span><span class="p">)</span>
<span class="n">style_shadow</span><span class="o">.</span><span class="n">set_shadow_color</span><span class="p">(</span><span class="n">lv</span><span class="o">.</span><span class="n">STATE</span><span class="o">.</span><span class="n">DEFAULT</span><span class="p">,</span><span class="n">LV_COLOR_BLUE</span><span class="p">)</span>

<span class="c1"># Copy the previous object (drag is already enabled)</span>
<span class="n">obj3</span> <span class="o">=</span> <span class="n">lv</span><span class="o">.</span><span class="n">obj</span><span class="p">(</span><span class="n">lv</span><span class="o">.</span><span class="n">scr_act</span><span class="p">(),</span><span class="n">obj2</span><span class="p">)</span>
<span class="n">obj3</span><span class="o">.</span><span class="n">add_style</span><span class="p">(</span><span class="n">obj3</span><span class="o">.</span><span class="n">PART</span><span class="o">.</span><span class="n">MAIN</span><span class="p">,</span><span class="n">style_shadow</span><span class="p">)</span>
<span class="n">obj3</span><span class="o">.</span><span class="n">align</span><span class="p">(</span><span class="kc">None</span><span class="p">,</span><span class="n">lv</span><span class="o">.</span><span class="n">ALIGN</span><span class="o">.</span><span class="n">CENTER</span><span class="p">,</span> <span class="mi">60</span><span class="p">,</span> <span class="mi">30</span><span class="p">)</span>

</pre></div>
</div>
</div>
</div>
</div>
</div>
<div class="section" id="api">
<h2>API<a class="headerlink" href="#api" title="Permalink to this headline">¶</a></h2>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-typedefs">Typedefs</p>
<dl class="cpp type">
<dt id="_CPPv416lv_design_mode_t">
<span id="_CPPv316lv_design_mode_t"></span><span id="_CPPv216lv_design_mode_t"></span><span id="lv_design_mode_t"></span><span class="target" id="lv__obj_8h_1a56836b6e5426fe0b9190a6adb32120c2"></span><em class="property"><span class="pre">typedef</span> </em><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">lv_design_mode_t</span></code><a class="headerlink" href="#_CPPv416lv_design_mode_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp type">
<dt id="_CPPv415lv_design_res_t">
<span id="_CPPv315lv_design_res_t"></span><span id="_CPPv215lv_design_res_t"></span><span id="lv_design_res_t"></span><span class="target" id="lv__obj_8h_1a5daecfbabb06a60241d50de1ead8ce61"></span><em class="property"><span class="pre">typedef</span> </em><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">lv_design_res_t</span></code><a class="headerlink" href="#_CPPv415lv_design_res_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp type">
<dt id="_CPPv414lv_design_cb_t">
<span id="_CPPv314lv_design_cb_t"></span><span id="_CPPv214lv_design_cb_t"></span><span id="lv_design_cb_t"></span><span class="target" id="lv__obj_8h_1ab1b5bf7b2fac5b7cf204a7be845a6679"></span><em class="property"><span class="pre">typedef</span> </em><a class="reference internal" href="#_CPPv415lv_design_res_t" title="lv_design_res_t"><span class="pre">lv_design_res_t</span></a> <span class="pre">(</span><span class="pre">*</span><code class="sig-name descname"><span class="pre">lv_design_cb_t</span></code><span class="pre">)</span><span class="sig-paren">(</span><em class="property"><span class="pre">struct</span></em> <a class="reference internal" href="#_CPPv49_lv_obj_t" title="_lv_obj_t"><span class="pre">_lv_obj_t</span></a> <span class="pre">*</span><span class="pre">obj</span>, <em class="property"><span class="pre">const</span></em> <span class="pre">lv_area_t</span> <span class="pre">*</span><span class="pre">clip_area</span>, <a class="reference internal" href="#_CPPv416lv_design_mode_t" title="lv_design_mode_t"><span class="pre">lv_design_mode_t</span></a> <span class="pre">mode</span><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv414lv_design_cb_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>The design callback is used to draw the object on the screen. It accepts the object, a mask area, and the mode in which to draw the object. </p>
</dd></dl>

<dl class="cpp type">
<dt id="_CPPv410lv_event_t">
<span id="_CPPv310lv_event_t"></span><span id="_CPPv210lv_event_t"></span><span id="lv_event_t"></span><span class="target" id="lv__obj_8h_1a81567353752c588831ed89a3b15b4ca0"></span><em class="property"><span class="pre">typedef</span> </em><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">lv_event_t</span></code><a class="headerlink" href="#_CPPv410lv_event_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Type of event being sent to the object. </p>
</dd></dl>

<dl class="cpp type">
<dt id="_CPPv413lv_event_cb_t">
<span id="_CPPv313lv_event_cb_t"></span><span id="_CPPv213lv_event_cb_t"></span><span id="lv_event_cb_t"></span><span class="target" id="lv__obj_8h_1a9366c6b8b950ee09075cdfe83105a81f"></span><em class="property"><span class="pre">typedef</span> </em><span class="pre">void</span> <span class="pre">(</span><span class="pre">*</span><code class="sig-name descname"><span class="pre">lv_event_cb_t</span></code><span class="pre">)</span><span class="sig-paren">(</span><em class="property"><span class="pre">struct</span></em> <a class="reference internal" href="#_CPPv49_lv_obj_t" title="_lv_obj_t"><span class="pre">_lv_obj_t</span></a> <span class="pre">*</span><span class="pre">obj</span>, <a class="reference internal" href="#_CPPv410lv_event_t" title="lv_event_t"><span class="pre">lv_event_t</span></a> <span class="pre">event</span><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv413lv_event_cb_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Event callback. Events are used to notify the user of some action being taken on the object. For details, see <a class="reference internal" href="#lv__obj_8h_1a81567353752c588831ed89a3b15b4ca0"><span class="std std-ref">lv_event_t</span></a>. </p>
</dd></dl>

<dl class="cpp type">
<dt id="_CPPv411lv_signal_t">
<span id="_CPPv311lv_signal_t"></span><span id="_CPPv211lv_signal_t"></span><span id="lv_signal_t"></span><span class="target" id="lv__obj_8h_1aaec725321f7abe33a79d04cdc91498ce"></span><em class="property"><span class="pre">typedef</span> </em><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">lv_signal_t</span></code><a class="headerlink" href="#_CPPv411lv_signal_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp type">
<dt id="_CPPv414lv_signal_cb_t">
<span id="_CPPv314lv_signal_cb_t"></span><span id="_CPPv214lv_signal_cb_t"></span><span id="lv_signal_cb_t"></span><span class="target" id="lv__obj_8h_1a5277b3d9138e4423e14e45b4f2a3b4c2"></span><em class="property"><span class="pre">typedef</span> </em><span class="pre">lv_res_t</span> <span class="pre">(</span><span class="pre">*</span><code class="sig-name descname"><span class="pre">lv_signal_cb_t</span></code><span class="pre">)</span><span class="sig-paren">(</span><em class="property"><span class="pre">struct</span></em> <a class="reference internal" href="#_CPPv49_lv_obj_t" title="_lv_obj_t"><span class="pre">_lv_obj_t</span></a> <span class="pre">*</span><span class="pre">obj</span>, <a class="reference internal" href="#_CPPv411lv_signal_t" title="lv_signal_t"><span class="pre">lv_signal_t</span></a> <span class="pre">sign</span>, <span class="pre">void</span> <span class="pre">*</span><span class="pre">param</span><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv414lv_signal_cb_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp type">
<dt id="_CPPv412lv_protect_t">
<span id="_CPPv312lv_protect_t"></span><span id="_CPPv212lv_protect_t"></span><span id="lv_protect_t"></span><span class="target" id="lv__obj_8h_1ab4260358010f1488a9993f9cde2cb7c7"></span><em class="property"><span class="pre">typedef</span> </em><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">lv_protect_t</span></code><a class="headerlink" href="#_CPPv412lv_protect_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp type">
<dt id="_CPPv410lv_state_t">
<span id="_CPPv310lv_state_t"></span><span id="_CPPv210lv_state_t"></span><span id="lv_state_t"></span><span class="target" id="lv__obj_8h_1aea8d70fce255ebb67326dae22f6ab8f7"></span><em class="property"><span class="pre">typedef</span> </em><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">lv_state_t</span></code><a class="headerlink" href="#_CPPv410lv_state_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp type">
<dt id="_CPPv48lv_obj_t">
<span id="_CPPv38lv_obj_t"></span><span id="_CPPv28lv_obj_t"></span><span id="lv_obj_t"></span><span class="target" id="lv__obj_8h_1a38023c894dabf8ae85bf86aa79981ceb"></span><em class="property"><span class="pre">typedef</span> </em><em class="property"><span class="pre">struct</span></em> <a class="reference internal" href="#_CPPv49_lv_obj_t" title="_lv_obj_t"><span class="pre">_lv_obj_t</span></a> <code class="sig-name descname"><span class="pre">lv_obj_t</span></code><a class="headerlink" href="#_CPPv48lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp type">
<dt id="_CPPv413lv_obj_part_t">
<span id="_CPPv313lv_obj_part_t"></span><span id="_CPPv213lv_obj_part_t"></span><span id="lv_obj_part_t"></span><span class="target" id="lv__obj_8h_1a6a747867493e9932e019f572cec17225"></span><em class="property"><span class="pre">typedef</span> </em><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">lv_obj_part_t</span></code><a class="headerlink" href="#_CPPv413lv_obj_part_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

</div>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-enums">Enums</p>
<dl class="cpp enum">
<dt id="_CPPv4Ut1_2">
<span id="_CPPv3Ut1_2"></span><span class="target" id="lv__obj_8h_1a99fb83031ce9923c84392b4e92f956b5"></span><em class="property"><span class="pre">enum</span> </em><strong><span class="pre">[anonymous]</span></strong><a class="headerlink" href="#_CPPv4Ut1_2" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Design modes </p>
<p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_219LV_DESIGN_DRAW_MAINE">
<span id="_CPPv3NUt1_219LV_DESIGN_DRAW_MAINE"></span><span class="target" id="lv__obj_8h_1a99fb83031ce9923c84392b4e92f956b5a1f3afabd4deede77515858ad0308728c"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_DESIGN_DRAW_MAIN</span></code><a class="headerlink" href="#_CPPv4NUt1_219LV_DESIGN_DRAW_MAINE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Draw the main portion of the object </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_219LV_DESIGN_DRAW_POSTE">
<span id="_CPPv3NUt1_219LV_DESIGN_DRAW_POSTE"></span><span class="target" id="lv__obj_8h_1a99fb83031ce9923c84392b4e92f956b5a52e693710212c03f55ec0dd3927f1d2e"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_DESIGN_DRAW_POST</span></code><a class="headerlink" href="#_CPPv4NUt1_219LV_DESIGN_DRAW_POSTE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Draw extras on the object </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_219LV_DESIGN_COVER_CHKE">
<span id="_CPPv3NUt1_219LV_DESIGN_COVER_CHKE"></span><span class="target" id="lv__obj_8h_1a99fb83031ce9923c84392b4e92f956b5a48e3eef6dffe9314f142ac9b38752c40"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_DESIGN_COVER_CHK</span></code><a class="headerlink" href="#_CPPv4NUt1_219LV_DESIGN_COVER_CHKE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Check if the object fully covers the 'mask_p' area </p>
</dd></dl>

</dd></dl>

<dl class="cpp enum">
<dt id="_CPPv4Ut1_3">
<span id="_CPPv3Ut1_3"></span><span class="target" id="lv__obj_8h_1abc6126af1d45847bc59afa0aa3216b04"></span><em class="property"><span class="pre">enum</span> </em><strong><span class="pre">[anonymous]</span></strong><a class="headerlink" href="#_CPPv4Ut1_3" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Design results </p>
<p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_316LV_DESIGN_RES_OKE">
<span id="_CPPv3NUt1_316LV_DESIGN_RES_OKE"></span><span class="target" id="lv__obj_8h_1abc6126af1d45847bc59afa0aa3216b04ac79f7792ca4959c203bef9016ee812a6"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_DESIGN_RES_OK</span></code><a class="headerlink" href="#_CPPv4NUt1_316LV_DESIGN_RES_OKE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Draw ready </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_319LV_DESIGN_RES_COVERE">
<span id="_CPPv3NUt1_319LV_DESIGN_RES_COVERE"></span><span class="target" id="lv__obj_8h_1abc6126af1d45847bc59afa0aa3216b04a1ed44968ec6dc9a9d9db137b6801aea7"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_DESIGN_RES_COVER</span></code><a class="headerlink" href="#_CPPv4NUt1_319LV_DESIGN_RES_COVERE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Returned on <code class="docutils literal notranslate"><span class="pre">LV_DESIGN_COVER_CHK</span></code> if the areas is fully covered </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_323LV_DESIGN_RES_NOT_COVERE">
<span id="_CPPv3NUt1_323LV_DESIGN_RES_NOT_COVERE"></span><span class="target" id="lv__obj_8h_1abc6126af1d45847bc59afa0aa3216b04aeac794b1c61f85c5aaa5ff04d2f35040"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_DESIGN_RES_NOT_COVER</span></code><a class="headerlink" href="#_CPPv4NUt1_323LV_DESIGN_RES_NOT_COVERE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Returned on <code class="docutils literal notranslate"><span class="pre">LV_DESIGN_COVER_CHK</span></code> if the areas is not covered </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_320LV_DESIGN_RES_MASKEDE">
<span id="_CPPv3NUt1_320LV_DESIGN_RES_MASKEDE"></span><span class="target" id="lv__obj_8h_1abc6126af1d45847bc59afa0aa3216b04a9ec4c7d705dc1d20e45c034eaaddef62"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_DESIGN_RES_MASKED</span></code><a class="headerlink" href="#_CPPv4NUt1_320LV_DESIGN_RES_MASKEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Returned on <code class="docutils literal notranslate"><span class="pre">LV_DESIGN_COVER_CHK</span></code> if the areas is masked out (children also not cover) </p>
</dd></dl>

</dd></dl>

<dl class="cpp enum">
<dt id="_CPPv4Ut1_4">
<span id="_CPPv3Ut1_4"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06c"></span><em class="property"><span class="pre">enum</span> </em><strong><span class="pre">[anonymous]</span></strong><a class="headerlink" href="#_CPPv4Ut1_4" title="Permalink to this definition">¶</a><br /></dt>
<dd><p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_416LV_EVENT_PRESSEDE">
<span id="_CPPv3NUt1_416LV_EVENT_PRESSEDE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca85e0d9a885dadabf175b273bd44c93ba"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_EVENT_PRESSED</span></code><a class="headerlink" href="#_CPPv4NUt1_416LV_EVENT_PRESSEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>The object has been pressed </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_417LV_EVENT_PRESSINGE">
<span id="_CPPv3NUt1_417LV_EVENT_PRESSINGE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca560856c6e0eccbbff88521dbd740c64c"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_EVENT_PRESSING</span></code><a class="headerlink" href="#_CPPv4NUt1_417LV_EVENT_PRESSINGE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>The object is being pressed (called continuously while pressing) </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_419LV_EVENT_PRESS_LOSTE">
<span id="_CPPv3NUt1_419LV_EVENT_PRESS_LOSTE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca8c4e44f04b065ecd5bb5b858d02b01fc"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_EVENT_PRESS_LOST</span></code><a class="headerlink" href="#_CPPv4NUt1_419LV_EVENT_PRESS_LOSTE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>User is still pressing but slid cursor/finger off of the object </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_422LV_EVENT_SHORT_CLICKEDE">
<span id="_CPPv3NUt1_422LV_EVENT_SHORT_CLICKEDE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06caf40c18f3713f9fd7a2b3a86bbe0ce91d"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_EVENT_SHORT_CLICKED</span></code><a class="headerlink" href="#_CPPv4NUt1_422LV_EVENT_SHORT_CLICKEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>User pressed object for a short period of time, then released it. Not called if dragged. </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_421LV_EVENT_LONG_PRESSEDE">
<span id="_CPPv3NUt1_421LV_EVENT_LONG_PRESSEDE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06caa7aa6dc2a228e74fc21f3044e874ff84"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_EVENT_LONG_PRESSED</span></code><a class="headerlink" href="#_CPPv4NUt1_421LV_EVENT_LONG_PRESSEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Object has been pressed for at least <code class="docutils literal notranslate"><span class="pre">LV_INDEV_LONG_PRESS_TIME</span></code>. Not called if dragged. </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_428LV_EVENT_LONG_PRESSED_REPEATE">
<span id="_CPPv3NUt1_428LV_EVENT_LONG_PRESSED_REPEATE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06caf75268f7d57e4d698a5cd4399378dc4b"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_EVENT_LONG_PRESSED_REPEAT</span></code><a class="headerlink" href="#_CPPv4NUt1_428LV_EVENT_LONG_PRESSED_REPEATE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Called after <code class="docutils literal notranslate"><span class="pre">LV_INDEV_LONG_PRESS_TIME</span></code> in every <code class="docutils literal notranslate"><span class="pre">LV_INDEV_LONG_PRESS_REP_TIME</span></code> ms. Not called if dragged. </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_416LV_EVENT_CLICKEDE">
<span id="_CPPv3NUt1_416LV_EVENT_CLICKEDE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06caa02bc86fc8e7a7edab3634a816c19ab6"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_EVENT_CLICKED</span></code><a class="headerlink" href="#_CPPv4NUt1_416LV_EVENT_CLICKEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Called on release if not dragged (regardless to long press) </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_417LV_EVENT_RELEASEDE">
<span id="_CPPv3NUt1_417LV_EVENT_RELEASEDE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca57be5704cf368a6ae442eb3642b52d4b"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_EVENT_RELEASED</span></code><a class="headerlink" href="#_CPPv4NUt1_417LV_EVENT_RELEASEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Called in every cases when the object has been released </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_419LV_EVENT_DRAG_BEGINE">
<span id="_CPPv3NUt1_419LV_EVENT_DRAG_BEGINE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca0ca8de364952c66f5c199cecafedc26c"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_EVENT_DRAG_BEGIN</span></code><a class="headerlink" href="#_CPPv4NUt1_419LV_EVENT_DRAG_BEGINE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_417LV_EVENT_DRAG_ENDE">
<span id="_CPPv3NUt1_417LV_EVENT_DRAG_ENDE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca2925bf346c44b6d8d9aeb75469d102a0"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_EVENT_DRAG_END</span></code><a class="headerlink" href="#_CPPv4NUt1_417LV_EVENT_DRAG_ENDE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_425LV_EVENT_DRAG_THROW_BEGINE">
<span id="_CPPv3NUt1_425LV_EVENT_DRAG_THROW_BEGINE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06caf0b9a3f95ca8e3e49251fd1052cdd4f8"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_EVENT_DRAG_THROW_BEGIN</span></code><a class="headerlink" href="#_CPPv4NUt1_425LV_EVENT_DRAG_THROW_BEGINE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_416LV_EVENT_GESTUREE">
<span id="_CPPv3NUt1_416LV_EVENT_GESTUREE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca0d85cf2703b9372c524d5c31d4904748"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_EVENT_GESTURE</span></code><a class="headerlink" href="#_CPPv4NUt1_416LV_EVENT_GESTUREE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>The object has been gesture </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_412LV_EVENT_KEYE">
<span id="_CPPv3NUt1_412LV_EVENT_KEYE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca26e32d4cfa8793473e2050455ad157eb"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_EVENT_KEY</span></code><a class="headerlink" href="#_CPPv4NUt1_412LV_EVENT_KEYE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_416LV_EVENT_FOCUSEDE">
<span id="_CPPv3NUt1_416LV_EVENT_FOCUSEDE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06caa36d2b7aa8cfa92719266858018c274b"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_EVENT_FOCUSED</span></code><a class="headerlink" href="#_CPPv4NUt1_416LV_EVENT_FOCUSEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_418LV_EVENT_DEFOCUSEDE">
<span id="_CPPv3NUt1_418LV_EVENT_DEFOCUSEDE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca6268513bd9ad2b5703e394f46f18e4de"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_EVENT_DEFOCUSED</span></code><a class="headerlink" href="#_CPPv4NUt1_418LV_EVENT_DEFOCUSEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_414LV_EVENT_LEAVEE">
<span id="_CPPv3NUt1_414LV_EVENT_LEAVEE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca431c4bcf9154e601ac061c53d8ba03ce"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_EVENT_LEAVE</span></code><a class="headerlink" href="#_CPPv4NUt1_414LV_EVENT_LEAVEE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_422LV_EVENT_VALUE_CHANGEDE">
<span id="_CPPv3NUt1_422LV_EVENT_VALUE_CHANGEDE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca46740aecc431a95080e7ebd9aca815e3"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_EVENT_VALUE_CHANGED</span></code><a class="headerlink" href="#_CPPv4NUt1_422LV_EVENT_VALUE_CHANGEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>The object's value has changed (i.e. slider moved) </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_415LV_EVENT_INSERTE">
<span id="_CPPv3NUt1_415LV_EVENT_INSERTE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca93a020762c350c40285c900c49074ebe"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_EVENT_INSERT</span></code><a class="headerlink" href="#_CPPv4NUt1_415LV_EVENT_INSERTE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_416LV_EVENT_REFRESHE">
<span id="_CPPv3NUt1_416LV_EVENT_REFRESHE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca5c6d081b794d09ebe3e098d7d12cec25"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_EVENT_REFRESH</span></code><a class="headerlink" href="#_CPPv4NUt1_416LV_EVENT_REFRESHE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_414LV_EVENT_APPLYE">
<span id="_CPPv3NUt1_414LV_EVENT_APPLYE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca7df0cf4bd306549bead4a83ea2cb49d2"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_EVENT_APPLY</span></code><a class="headerlink" href="#_CPPv4NUt1_414LV_EVENT_APPLYE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>&quot;Ok&quot;, &quot;Apply&quot; or similar specific button has clicked </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_415LV_EVENT_CANCELE">
<span id="_CPPv3NUt1_415LV_EVENT_CANCELE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06cafbc2a898addfb4bc699b9f7a4f66150d"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_EVENT_CANCEL</span></code><a class="headerlink" href="#_CPPv4NUt1_415LV_EVENT_CANCELE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>&quot;Close&quot;, &quot;Cancel&quot; or similar specific button has clicked </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_415LV_EVENT_DELETEE">
<span id="_CPPv3NUt1_415LV_EVENT_DELETEE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca2b6e10a27dd52c80f3ed04e4bc3ced2b"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_EVENT_DELETE</span></code><a class="headerlink" href="#_CPPv4NUt1_415LV_EVENT_DELETEE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Object is being deleted </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_414_LV_EVENT_LASTE">
<span id="_CPPv3NUt1_414_LV_EVENT_LASTE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca4b86217f41c5bc7fa521fde497e861a6"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">_LV_EVENT_LAST</span></code><a class="headerlink" href="#_CPPv4NUt1_414_LV_EVENT_LASTE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Number of events </p>
</dd></dl>

</dd></dl>

<dl class="cpp enum">
<dt id="_CPPv4Ut1_5">
<span id="_CPPv3Ut1_5"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9e"></span><em class="property"><span class="pre">enum</span> </em><strong><span class="pre">[anonymous]</span></strong><a class="headerlink" href="#_CPPv4Ut1_5" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Signals are for use by the object itself or to extend the object's functionality. Applications should use <a class="reference internal" href="#lv__obj_8h_1a16c2f9020fcde51036b3e319b6217203"><span class="std std-ref">lv_obj_set_event_cb</span></a> to be notified of events that occur on the object. </p>
<p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_517LV_SIGNAL_CLEANUPE">
<span id="_CPPv3NUt1_517LV_SIGNAL_CLEANUPE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9eadbc2556344c61af73876d1119e16ed39"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_SIGNAL_CLEANUP</span></code><a class="headerlink" href="#_CPPv4NUt1_517LV_SIGNAL_CLEANUPE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Object is being deleted </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_519LV_SIGNAL_CHILD_CHGE">
<span id="_CPPv3NUt1_519LV_SIGNAL_CHILD_CHGE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea7431d188c928d451bb7d9d9d874a3c25"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_SIGNAL_CHILD_CHG</span></code><a class="headerlink" href="#_CPPv4NUt1_519LV_SIGNAL_CHILD_CHGE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Child was removed/added </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_519LV_SIGNAL_COORD_CHGE">
<span id="_CPPv3NUt1_519LV_SIGNAL_COORD_CHGE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea228ca2347183d43ac5243fdf954854c6"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_SIGNAL_COORD_CHG</span></code><a class="headerlink" href="#_CPPv4NUt1_519LV_SIGNAL_COORD_CHGE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Object coordinates/size have changed </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_525LV_SIGNAL_PARENT_SIZE_CHGE">
<span id="_CPPv3NUt1_525LV_SIGNAL_PARENT_SIZE_CHGE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea7ed449098cd77353608f1574a01e0f88"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_SIGNAL_PARENT_SIZE_CHG</span></code><a class="headerlink" href="#_CPPv4NUt1_525LV_SIGNAL_PARENT_SIZE_CHGE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Parent's size has changed </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_519LV_SIGNAL_STYLE_CHGE">
<span id="_CPPv3NUt1_519LV_SIGNAL_STYLE_CHGE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ead63b9c7fd5fef5aadb7fc36b5801f22a"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_SIGNAL_STYLE_CHG</span></code><a class="headerlink" href="#_CPPv4NUt1_519LV_SIGNAL_STYLE_CHGE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Object's style has changed </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_522LV_SIGNAL_BASE_DIR_CHGE">
<span id="_CPPv3NUt1_522LV_SIGNAL_BASE_DIR_CHGE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea0309e2b76baf4685660bd8c6f84f1b15"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_SIGNAL_BASE_DIR_CHG</span></code><a class="headerlink" href="#_CPPv4NUt1_522LV_SIGNAL_BASE_DIR_CHGE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>The base dir has changed </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_527LV_SIGNAL_REFR_EXT_DRAW_PADE">
<span id="_CPPv3NUt1_527LV_SIGNAL_REFR_EXT_DRAW_PADE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea2d83e1e99c8e778911f5bcbf94722c08"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_SIGNAL_REFR_EXT_DRAW_PAD</span></code><a class="headerlink" href="#_CPPv4NUt1_527LV_SIGNAL_REFR_EXT_DRAW_PADE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Object's extra padding has changed </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_518LV_SIGNAL_GET_TYPEE">
<span id="_CPPv3NUt1_518LV_SIGNAL_GET_TYPEE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9eaa34afa204372de2536c237cf3ef9f706"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_SIGNAL_GET_TYPE</span></code><a class="headerlink" href="#_CPPv4NUt1_518LV_SIGNAL_GET_TYPEE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>LVGL needs to retrieve the object's type </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_519LV_SIGNAL_GET_STYLEE">
<span id="_CPPv3NUt1_519LV_SIGNAL_GET_STYLEE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea96ef659d4ecc2545c5d707930c5bace0"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_SIGNAL_GET_STYLE</span></code><a class="headerlink" href="#_CPPv4NUt1_519LV_SIGNAL_GET_STYLEE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the style of an object </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_523LV_SIGNAL_GET_STATE_DSCE">
<span id="_CPPv3NUt1_523LV_SIGNAL_GET_STATE_DSCE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9eaa5bebb37a5452d368f8bf2e8899c0558"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_SIGNAL_GET_STATE_DSC</span></code><a class="headerlink" href="#_CPPv4NUt1_523LV_SIGNAL_GET_STATE_DSCE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the state of the object </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_518LV_SIGNAL_HIT_TESTE">
<span id="_CPPv3NUt1_518LV_SIGNAL_HIT_TESTE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9eaaf2d872bea05c3f9e65191b30c432f08"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_SIGNAL_HIT_TEST</span></code><a class="headerlink" href="#_CPPv4NUt1_518LV_SIGNAL_HIT_TESTE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Advanced hit-testing </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_517LV_SIGNAL_PRESSEDE">
<span id="_CPPv3NUt1_517LV_SIGNAL_PRESSEDE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea9b8e8b61f251c07a4c23b11433d057bc"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_SIGNAL_PRESSED</span></code><a class="headerlink" href="#_CPPv4NUt1_517LV_SIGNAL_PRESSEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>The object has been pressed </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_518LV_SIGNAL_PRESSINGE">
<span id="_CPPv3NUt1_518LV_SIGNAL_PRESSINGE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9eaf0da634720521b34abe41aaa384626de"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_SIGNAL_PRESSING</span></code><a class="headerlink" href="#_CPPv4NUt1_518LV_SIGNAL_PRESSINGE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>The object is being pressed (called continuously while pressing) </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_520LV_SIGNAL_PRESS_LOSTE">
<span id="_CPPv3NUt1_520LV_SIGNAL_PRESS_LOSTE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea9055a5dd2dc8415ae8d9757689f38693"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_SIGNAL_PRESS_LOST</span></code><a class="headerlink" href="#_CPPv4NUt1_520LV_SIGNAL_PRESS_LOSTE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>User is still pressing but slid cursor/finger off of the object </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_518LV_SIGNAL_RELEASEDE">
<span id="_CPPv3NUt1_518LV_SIGNAL_RELEASEDE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea8f500f5ed0bab006bc365e67496ac30f"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_SIGNAL_RELEASED</span></code><a class="headerlink" href="#_CPPv4NUt1_518LV_SIGNAL_RELEASEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>User pressed object for a short period of time, then released it. Not called if dragged. </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_520LV_SIGNAL_LONG_PRESSE">
<span id="_CPPv3NUt1_520LV_SIGNAL_LONG_PRESSE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea2d9e0caa05c29ce6c319bb5bca8fae26"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_SIGNAL_LONG_PRESS</span></code><a class="headerlink" href="#_CPPv4NUt1_520LV_SIGNAL_LONG_PRESSE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Object has been pressed for at least <code class="docutils literal notranslate"><span class="pre">LV_INDEV_LONG_PRESS_TIME</span></code>. Not called if dragged. </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_524LV_SIGNAL_LONG_PRESS_REPE">
<span id="_CPPv3NUt1_524LV_SIGNAL_LONG_PRESS_REPE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea103008d084ba8829b6bf76670251e465"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_SIGNAL_LONG_PRESS_REP</span></code><a class="headerlink" href="#_CPPv4NUt1_524LV_SIGNAL_LONG_PRESS_REPE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Called after <code class="docutils literal notranslate"><span class="pre">LV_INDEV_LONG_PRESS_TIME</span></code> in every <code class="docutils literal notranslate"><span class="pre">LV_INDEV_LONG_PRESS_REP_TIME</span></code> ms. Not called if dragged. </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_520LV_SIGNAL_DRAG_BEGINE">
<span id="_CPPv3NUt1_520LV_SIGNAL_DRAG_BEGINE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea7d87c5ce73ffe6630dc2730bf5177d0c"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_SIGNAL_DRAG_BEGIN</span></code><a class="headerlink" href="#_CPPv4NUt1_520LV_SIGNAL_DRAG_BEGINE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_526LV_SIGNAL_DRAG_THROW_BEGINE">
<span id="_CPPv3NUt1_526LV_SIGNAL_DRAG_THROW_BEGINE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea56a398615e9a360bdb3fdb2fe3750ddd"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_SIGNAL_DRAG_THROW_BEGIN</span></code><a class="headerlink" href="#_CPPv4NUt1_526LV_SIGNAL_DRAG_THROW_BEGINE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_518LV_SIGNAL_DRAG_ENDE">
<span id="_CPPv3NUt1_518LV_SIGNAL_DRAG_ENDE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea9060fe3f8d3ad44ee493ad7fa1e824df"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_SIGNAL_DRAG_END</span></code><a class="headerlink" href="#_CPPv4NUt1_518LV_SIGNAL_DRAG_ENDE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_517LV_SIGNAL_GESTUREE">
<span id="_CPPv3NUt1_517LV_SIGNAL_GESTUREE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9eac4d91026aebff613fe7f2f75761c8a04"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_SIGNAL_GESTURE</span></code><a class="headerlink" href="#_CPPv4NUt1_517LV_SIGNAL_GESTUREE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>The object has been gesture </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_515LV_SIGNAL_LEAVEE">
<span id="_CPPv3NUt1_515LV_SIGNAL_LEAVEE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9eac10d8dbf287bcda2e8d3efbaa7ddd2e1"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_SIGNAL_LEAVE</span></code><a class="headerlink" href="#_CPPv4NUt1_515LV_SIGNAL_LEAVEE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Another object is clicked or chosen via an input device </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_515LV_SIGNAL_FOCUSE">
<span id="_CPPv3NUt1_515LV_SIGNAL_FOCUSE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9eaa403d9c7bf7cc4639aed8e73c7942f8f"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_SIGNAL_FOCUS</span></code><a class="headerlink" href="#_CPPv4NUt1_515LV_SIGNAL_FOCUSE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_517LV_SIGNAL_DEFOCUSE">
<span id="_CPPv3NUt1_517LV_SIGNAL_DEFOCUSE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea1624b8a95d354e7eee11204743b4c38c"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_SIGNAL_DEFOCUS</span></code><a class="headerlink" href="#_CPPv4NUt1_517LV_SIGNAL_DEFOCUSE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_517LV_SIGNAL_CONTROLE">
<span id="_CPPv3NUt1_517LV_SIGNAL_CONTROLE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9eaa5bf3b5124b7925f587025316f398995"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_SIGNAL_CONTROL</span></code><a class="headerlink" href="#_CPPv4NUt1_517LV_SIGNAL_CONTROLE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_522LV_SIGNAL_GET_EDITABLEE">
<span id="_CPPv3NUt1_522LV_SIGNAL_GET_EDITABLEE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea26e3183d5c30d2345b36dbc86cd4afea"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_SIGNAL_GET_EDITABLE</span></code><a class="headerlink" href="#_CPPv4NUt1_522LV_SIGNAL_GET_EDITABLEE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

</dd></dl>

<dl class="cpp enum">
<dt id="_CPPv4Ut1_6">
<span id="_CPPv3Ut1_6"></span><span class="target" id="lv__obj_8h_1a726ca809ffd3d67ab4b8476646f26635"></span><em class="property"><span class="pre">enum</span> </em><strong><span class="pre">[anonymous]</span></strong><a class="headerlink" href="#_CPPv4Ut1_6" title="Permalink to this definition">¶</a><br /></dt>
<dd><p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_615LV_PROTECT_NONEE">
<span id="_CPPv3NUt1_615LV_PROTECT_NONEE"></span><span class="target" id="lv__obj_8h_1a726ca809ffd3d67ab4b8476646f26635ae9d16e769844c2c4107dec15600c18b1"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_PROTECT_NONE</span></code><a class="headerlink" href="#_CPPv4NUt1_615LV_PROTECT_NONEE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_620LV_PROTECT_CHILD_CHGE">
<span id="_CPPv3NUt1_620LV_PROTECT_CHILD_CHGE"></span><span class="target" id="lv__obj_8h_1a726ca809ffd3d67ab4b8476646f26635ad6905e1772856f1cee258aa080e3a2fb"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_PROTECT_CHILD_CHG</span></code><a class="headerlink" href="#_CPPv4NUt1_620LV_PROTECT_CHILD_CHGE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Disable the child change signal. Used by the library </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_617LV_PROTECT_PARENTE">
<span id="_CPPv3NUt1_617LV_PROTECT_PARENTE"></span><span class="target" id="lv__obj_8h_1a726ca809ffd3d67ab4b8476646f26635abf71fbcdeebdc489d9ed7014f47860eb"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_PROTECT_PARENT</span></code><a class="headerlink" href="#_CPPv4NUt1_617LV_PROTECT_PARENTE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Prevent automatic parent change (e.g. in lv_page) </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_614LV_PROTECT_POSE">
<span id="_CPPv3NUt1_614LV_PROTECT_POSE"></span><span class="target" id="lv__obj_8h_1a726ca809ffd3d67ab4b8476646f26635ac605062bb3895bd55356d4520a9e8160"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_PROTECT_POS</span></code><a class="headerlink" href="#_CPPv4NUt1_614LV_PROTECT_POSE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Prevent automatic positioning (e.g. in lv_cont layout) </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_617LV_PROTECT_FOLLOWE">
<span id="_CPPv3NUt1_617LV_PROTECT_FOLLOWE"></span><span class="target" id="lv__obj_8h_1a726ca809ffd3d67ab4b8476646f26635a7b5c826d0974bcc4a78c420a92dca626"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_PROTECT_FOLLOW</span></code><a class="headerlink" href="#_CPPv4NUt1_617LV_PROTECT_FOLLOWE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Prevent the object be followed in automatic ordering (e.g. in lv_cont PRETTY layout) </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_621LV_PROTECT_PRESS_LOSTE">
<span id="_CPPv3NUt1_621LV_PROTECT_PRESS_LOSTE"></span><span class="target" id="lv__obj_8h_1a726ca809ffd3d67ab4b8476646f26635a56ece3ac8b436ca76e4aabf82b1e76b0"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_PROTECT_PRESS_LOST</span></code><a class="headerlink" href="#_CPPv4NUt1_621LV_PROTECT_PRESS_LOSTE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>If the <code class="docutils literal notranslate"><span class="pre">indev</span></code> was pressing this object but swiped out while pressing do not search other object. </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_622LV_PROTECT_CLICK_FOCUSE">
<span id="_CPPv3NUt1_622LV_PROTECT_CLICK_FOCUSE"></span><span class="target" id="lv__obj_8h_1a726ca809ffd3d67ab4b8476646f26635a3cbe02ea9019628d25cd9aef0ccf8296"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_PROTECT_CLICK_FOCUS</span></code><a class="headerlink" href="#_CPPv4NUt1_622LV_PROTECT_CLICK_FOCUSE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Prevent focusing the object by clicking on it </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_628LV_PROTECT_EVENT_TO_DISABLEDE">
<span id="_CPPv3NUt1_628LV_PROTECT_EVENT_TO_DISABLEDE"></span><span class="target" id="lv__obj_8h_1a726ca809ffd3d67ab4b8476646f26635a3d8f185885a8c2e0c58375a59e944d64"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_PROTECT_EVENT_TO_DISABLED</span></code><a class="headerlink" href="#_CPPv4NUt1_628LV_PROTECT_EVENT_TO_DISABLEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Pass events even to disabled objects </p>
</dd></dl>

</dd></dl>

<dl class="cpp enum">
<dt id="_CPPv4Ut1_7">
<span id="_CPPv3Ut1_7"></span><span class="target" id="lv__obj_8h_1a0411cd49bb5b71852cecd93bcbf0ca2d"></span><em class="property"><span class="pre">enum</span> </em><strong><span class="pre">[anonymous]</span></strong><a class="headerlink" href="#_CPPv4Ut1_7" title="Permalink to this definition">¶</a><br /></dt>
<dd><p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_716LV_STATE_DEFAULTE">
<span id="_CPPv3NUt1_716LV_STATE_DEFAULTE"></span><span class="target" id="lv__obj_8h_1a0411cd49bb5b71852cecd93bcbf0ca2da9817cb0d3c0e422c1f63901d4d92e8c3"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_STATE_DEFAULT</span></code><a class="headerlink" href="#_CPPv4NUt1_716LV_STATE_DEFAULTE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_716LV_STATE_CHECKEDE">
<span id="_CPPv3NUt1_716LV_STATE_CHECKEDE"></span><span class="target" id="lv__obj_8h_1a0411cd49bb5b71852cecd93bcbf0ca2da6fc6f742b7b193d9dad585f32826afcf"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_STATE_CHECKED</span></code><a class="headerlink" href="#_CPPv4NUt1_716LV_STATE_CHECKEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_716LV_STATE_FOCUSEDE">
<span id="_CPPv3NUt1_716LV_STATE_FOCUSEDE"></span><span class="target" id="lv__obj_8h_1a0411cd49bb5b71852cecd93bcbf0ca2da5fb9f48f09dbcf9d45b0f79675e793cb"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_STATE_FOCUSED</span></code><a class="headerlink" href="#_CPPv4NUt1_716LV_STATE_FOCUSEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_715LV_STATE_EDITEDE">
<span id="_CPPv3NUt1_715LV_STATE_EDITEDE"></span><span class="target" id="lv__obj_8h_1a0411cd49bb5b71852cecd93bcbf0ca2da57be5d3fed5ca1d0519c0302a4517e8a"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_STATE_EDITED</span></code><a class="headerlink" href="#_CPPv4NUt1_715LV_STATE_EDITEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_716LV_STATE_HOVEREDE">
<span id="_CPPv3NUt1_716LV_STATE_HOVEREDE"></span><span class="target" id="lv__obj_8h_1a0411cd49bb5b71852cecd93bcbf0ca2daa24f8fab93b0965e98f5ad3bafea48b8"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_STATE_HOVERED</span></code><a class="headerlink" href="#_CPPv4NUt1_716LV_STATE_HOVEREDE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_716LV_STATE_PRESSEDE">
<span id="_CPPv3NUt1_716LV_STATE_PRESSEDE"></span><span class="target" id="lv__obj_8h_1a0411cd49bb5b71852cecd93bcbf0ca2da69673539aa92d84848a992fb3baea649"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_STATE_PRESSED</span></code><a class="headerlink" href="#_CPPv4NUt1_716LV_STATE_PRESSEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_717LV_STATE_DISABLEDE">
<span id="_CPPv3NUt1_717LV_STATE_DISABLEDE"></span><span class="target" id="lv__obj_8h_1a0411cd49bb5b71852cecd93bcbf0ca2da63e18d3006cf8c0e73a5062782dce94b"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_STATE_DISABLED</span></code><a class="headerlink" href="#_CPPv4NUt1_717LV_STATE_DISABLEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

</dd></dl>

<dl class="cpp enum">
<dt id="_CPPv4Ut1_8">
<span id="_CPPv3Ut1_8"></span><span class="target" id="lv__obj_8h_1abed82baf7f470b522273a3e37c24c600"></span><em class="property"><span class="pre">enum</span> </em><strong><span class="pre">[anonymous]</span></strong><a class="headerlink" href="#_CPPv4Ut1_8" title="Permalink to this definition">¶</a><br /></dt>
<dd><p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_816LV_OBJ_PART_MAINE">
<span id="_CPPv3NUt1_816LV_OBJ_PART_MAINE"></span><span class="target" id="lv__obj_8h_1abed82baf7f470b522273a3e37c24c600acd1c8b2ad7ced3b6df5ce08735bc7f13"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_OBJ_PART_MAIN</span></code><a class="headerlink" href="#_CPPv4NUt1_816LV_OBJ_PART_MAINE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_825_LV_OBJ_PART_VIRTUAL_LASTE">
<span id="_CPPv3NUt1_825_LV_OBJ_PART_VIRTUAL_LASTE"></span><span class="target" id="lv__obj_8h_1abed82baf7f470b522273a3e37c24c600a286deae4ec40014a55a575b72c5dc77e"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">_LV_OBJ_PART_VIRTUAL_LAST</span></code><a class="headerlink" href="#_CPPv4NUt1_825_LV_OBJ_PART_VIRTUAL_LASTE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_822_LV_OBJ_PART_REAL_LASTE">
<span id="_CPPv3NUt1_822_LV_OBJ_PART_REAL_LASTE"></span><span class="target" id="lv__obj_8h_1abed82baf7f470b522273a3e37c24c600a977b9c860a67308fc0ecc85074a175ac"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">_LV_OBJ_PART_REAL_LAST</span></code><a class="headerlink" href="#_CPPv4NUt1_822_LV_OBJ_PART_REAL_LASTE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_815LV_OBJ_PART_ALLE">
<span id="_CPPv3NUt1_815LV_OBJ_PART_ALLE"></span><span class="target" id="lv__obj_8h_1abed82baf7f470b522273a3e37c24c600a046ff010ec4e48fc91aa54c5d0cdd378"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_OBJ_PART_ALL</span></code><a class="headerlink" href="#_CPPv4NUt1_815LV_OBJ_PART_ALLE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

</dd></dl>

</div>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-functions">Functions</p>
<dl class="cpp function">
<dt id="_CPPv47lv_initv">
<span id="_CPPv37lv_initv"></span><span id="_CPPv27lv_initv"></span><span id="lv_init__void"></span><span class="target" id="lv__obj_8h_1a666fa58edac1e61856b2a00fe60308a0"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_init</span></code><span class="sig-paren">(</span><span class="pre">void</span><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv47lv_initv" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Init. the 'lv' library. </p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv49lv_deinitv">
<span id="_CPPv39lv_deinitv"></span><span id="_CPPv29lv_deinitv"></span><span id="lv_deinit__void"></span><span class="target" id="lv__obj_8h_1a302a9934e9b77badac7f527b5116a156"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_deinit</span></code><span class="sig-paren">(</span><span class="pre">void</span><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv49lv_deinitv" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Deinit the 'lv' library Currently only implemented when not using custom allocators, or GC is enabled. </p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv413lv_obj_createP8lv_obj_tPK8lv_obj_t">
<span id="_CPPv313lv_obj_createP8lv_obj_tPK8lv_obj_t"></span><span id="_CPPv213lv_obj_createP8lv_obj_tPK8lv_obj_t"></span><span id="lv_obj_create__lv_obj_tP.lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1af5b63647e5fc488f3a5fcdc755d9eb2a"></span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><code class="sig-name descname"><span class="pre">lv_obj_create</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">parent</span></em>, <em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">copy</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv413lv_obj_createP8lv_obj_tPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Create a basic object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>parent</strong> -- pointer to a parent object. If NULL then a screen will be created </p></li>
<li><p><strong>copy</strong> -- pointer to a base object, if not NULL then the new object will be copied from it </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>pointer to the new object </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv410lv_obj_delP8lv_obj_t">
<span id="_CPPv310lv_obj_delP8lv_obj_t"></span><span id="_CPPv210lv_obj_delP8lv_obj_t"></span><span id="lv_obj_del__lv_obj_tP"></span><span class="target" id="lv__obj_8h_1a417b2917d719634f9aa8e00aa6e76301"></span><span class="pre">lv_res_t</span> <code class="sig-name descname"><span class="pre">lv_obj_del</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv410lv_obj_delP8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Delete 'obj' and all of its children </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object to delete </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>LV_RES_INV because the object is deleted </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv424lv_obj_del_anim_ready_cbP9lv_anim_t">
<span id="_CPPv324lv_obj_del_anim_ready_cbP9lv_anim_t"></span><span id="_CPPv224lv_obj_del_anim_ready_cbP9lv_anim_t"></span><span id="lv_obj_del_anim_ready_cb__lv_anim_tP"></span><span class="target" id="lv__obj_8h_1aea6f2d4b966b06c06658c12aac2fa254"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_del_anim_ready_cb</span></code><span class="sig-paren">(</span><a class="reference internal" href="../overview/animation.html#_CPPv49lv_anim_t" title="lv_anim_t"><span class="pre">lv_anim_t</span></a> <span class="pre">*</span><em><span class="pre">a</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv424lv_obj_del_anim_ready_cbP9lv_anim_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>A function to be easily used in animation ready callback to delete an object when the animation is ready </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>a</strong> -- pointer to the animation </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv416lv_obj_del_asyncP9_lv_obj_t">
<span id="_CPPv316lv_obj_del_asyncP9_lv_obj_t"></span><span id="_CPPv216lv_obj_del_asyncP9_lv_obj_t"></span><span id="lv_obj_del_async___lv_obj_tP"></span><span class="target" id="lv__obj_8h_1a0080923cccf80af7b1756b0e418db547"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_del_async</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">struct</span></em> <a class="reference internal" href="#_CPPv49_lv_obj_t" title="_lv_obj_t"><span class="pre">_lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv416lv_obj_del_asyncP9_lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Helper function for asynchronously deleting objects. Useful for cases where you can't delete an object directly in an <code class="docutils literal notranslate"><span class="pre">LV_EVENT_DELETE</span></code> handler (i.e. parent). <dl class="simple">
<dt><strong>See</strong></dt><dd><p><a class="reference internal" href="../overview/task.html#lv__async_8h_1aee44e660e597215583d71f76f9ce2564"><span class="std std-ref">lv_async_call</span></a> </p>
</dd>
</dl>
</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- object to delete </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv412lv_obj_cleanP8lv_obj_t">
<span id="_CPPv312lv_obj_cleanP8lv_obj_t"></span><span id="_CPPv212lv_obj_cleanP8lv_obj_t"></span><span id="lv_obj_clean__lv_obj_tP"></span><span class="target" id="lv__obj_8h_1ab9e1d84b921e63d1da83fe711b214aea"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_clean</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv412lv_obj_cleanP8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Delete all children of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv422lv_obj_invalidate_areaPK8lv_obj_tPK9lv_area_t">
<span id="_CPPv322lv_obj_invalidate_areaPK8lv_obj_tPK9lv_area_t"></span><span id="_CPPv222lv_obj_invalidate_areaPK8lv_obj_tPK9lv_area_t"></span><span id="lv_obj_invalidate_area__lv_obj_tCP.lv_area_tCP"></span><span class="target" id="lv__obj_8h_1a33a0a3c2c2861391f3b0e58cfe39914a"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_invalidate_area</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <em class="property"><span class="pre">const</span></em> <span class="pre">lv_area_t</span> <span class="pre">*</span><em><span class="pre">area</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv422lv_obj_invalidate_areaPK8lv_obj_tPK9lv_area_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Mark an area of an object as invalid. This area will be redrawn by 'lv_refr_task' </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>area</strong> -- the area to redraw </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_obj_invalidatePK8lv_obj_t">
<span id="_CPPv317lv_obj_invalidatePK8lv_obj_t"></span><span id="_CPPv217lv_obj_invalidatePK8lv_obj_t"></span><span id="lv_obj_invalidate__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1aad66ca3c74dbc0c194bd5135fa18d033"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_invalidate</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_obj_invalidatePK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Mark the object as invalid therefore its current position will be redrawn by 'lv_refr_task' </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv422lv_obj_area_is_visiblePK8lv_obj_tP9lv_area_t">
<span id="_CPPv322lv_obj_area_is_visiblePK8lv_obj_tP9lv_area_t"></span><span id="_CPPv222lv_obj_area_is_visiblePK8lv_obj_tP9lv_area_t"></span><span id="lv_obj_area_is_visible__lv_obj_tCP.lv_area_tP"></span><span class="target" id="lv__obj_8h_1a27761185063c6244fddaada1f2c25df8"></span><span class="pre">bool</span> <code class="sig-name descname"><span class="pre">lv_obj_area_is_visible</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">lv_area_t</span> <span class="pre">*</span><em><span class="pre">area</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv422lv_obj_area_is_visiblePK8lv_obj_tP9lv_area_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Tell whether an area of an object is visible (even partially) now or not </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>area</strong> -- the are to check. The visible part of the area will be written back here. </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>true: visible; false: not visible (hidden, out of parent, on other screen, etc) </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_obj_is_visiblePK8lv_obj_t">
<span id="_CPPv317lv_obj_is_visiblePK8lv_obj_t"></span><span id="_CPPv217lv_obj_is_visiblePK8lv_obj_t"></span><span id="lv_obj_is_visible__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1ad819f34bbb76a7ddba5c75e24ebfb687"></span><span class="pre">bool</span> <code class="sig-name descname"><span class="pre">lv_obj_is_visible</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_obj_is_visiblePK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Tell whether an object is visible (even partially) now or not </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>true: visible; false: not visible (hidden, out of parent, on other screen, etc) </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_obj_set_parentP8lv_obj_tP8lv_obj_t">
<span id="_CPPv317lv_obj_set_parentP8lv_obj_tP8lv_obj_t"></span><span id="_CPPv217lv_obj_set_parentP8lv_obj_tP8lv_obj_t"></span><span id="lv_obj_set_parent__lv_obj_tP.lv_obj_tP"></span><span class="target" id="lv__obj_8h_1abc514aaa674d90d982ebefebca6b2284"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_parent</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">parent</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_obj_set_parentP8lv_obj_tP8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set a new parent for an object. Its relative position will be the same. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object. Can't be a screen. </p></li>
<li><p><strong>parent</strong> -- pointer to the new parent object. (Can't be NULL) </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv422lv_obj_move_foregroundP8lv_obj_t">
<span id="_CPPv322lv_obj_move_foregroundP8lv_obj_t"></span><span id="_CPPv222lv_obj_move_foregroundP8lv_obj_t"></span><span id="lv_obj_move_foreground__lv_obj_tP"></span><span class="target" id="lv__obj_8h_1aa7aa29e1594d02eac986bf0766ef348e"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_move_foreground</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv422lv_obj_move_foregroundP8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Move and object to the foreground </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv422lv_obj_move_backgroundP8lv_obj_t">
<span id="_CPPv322lv_obj_move_backgroundP8lv_obj_t"></span><span id="_CPPv222lv_obj_move_backgroundP8lv_obj_t"></span><span id="lv_obj_move_background__lv_obj_tP"></span><span class="target" id="lv__obj_8h_1a6a63bb02c90da34db7988904a53b54ba"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_move_background</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv422lv_obj_move_backgroundP8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Move and object to the background </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv414lv_obj_set_posP8lv_obj_t10lv_coord_t10lv_coord_t">
<span id="_CPPv314lv_obj_set_posP8lv_obj_t10lv_coord_t10lv_coord_t"></span><span id="_CPPv214lv_obj_set_posP8lv_obj_t10lv_coord_t10lv_coord_t"></span><span id="lv_obj_set_pos__lv_obj_tP.lv_coord_t.lv_coord_t"></span><span class="target" id="lv__obj_8h_1ab224721bfc40f9fbedc291bccd84cbea"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_pos</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">x</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">y</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv414lv_obj_set_posP8lv_obj_t10lv_coord_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set relative the position of an object (relative to the parent) </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>x</strong> -- new distance from the left side of the parent </p></li>
<li><p><strong>y</strong> -- new distance from the top of the parent </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv412lv_obj_set_xP8lv_obj_t10lv_coord_t">
<span id="_CPPv312lv_obj_set_xP8lv_obj_t10lv_coord_t"></span><span id="_CPPv212lv_obj_set_xP8lv_obj_t10lv_coord_t"></span><span id="lv_obj_set_x__lv_obj_tP.lv_coord_t"></span><span class="target" id="lv__obj_8h_1abc849c766f9c18783e5ec600fa2b6874"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_x</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">x</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv412lv_obj_set_xP8lv_obj_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the x coordinate of a object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>x</strong> -- new distance from the left side from the parent </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv412lv_obj_set_yP8lv_obj_t10lv_coord_t">
<span id="_CPPv312lv_obj_set_yP8lv_obj_t10lv_coord_t"></span><span id="_CPPv212lv_obj_set_yP8lv_obj_t10lv_coord_t"></span><span id="lv_obj_set_y__lv_obj_tP.lv_coord_t"></span><span class="target" id="lv__obj_8h_1a1993b15b44f347aeff5aa9f24e816eb2"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_y</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">y</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv412lv_obj_set_yP8lv_obj_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the y coordinate of a object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>y</strong> -- new distance from the top of the parent </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv415lv_obj_set_sizeP8lv_obj_t10lv_coord_t10lv_coord_t">
<span id="_CPPv315lv_obj_set_sizeP8lv_obj_t10lv_coord_t10lv_coord_t"></span><span id="_CPPv215lv_obj_set_sizeP8lv_obj_t10lv_coord_t10lv_coord_t"></span><span id="lv_obj_set_size__lv_obj_tP.lv_coord_t.lv_coord_t"></span><span class="target" id="lv__obj_8h_1abcc5ebd0d1bda82435697baeeb58048d"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_size</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">w</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">h</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv415lv_obj_set_sizeP8lv_obj_t10lv_coord_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the size of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>w</strong> -- new width </p></li>
<li><p><strong>h</strong> -- new height </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv416lv_obj_set_widthP8lv_obj_t10lv_coord_t">
<span id="_CPPv316lv_obj_set_widthP8lv_obj_t10lv_coord_t"></span><span id="_CPPv216lv_obj_set_widthP8lv_obj_t10lv_coord_t"></span><span id="lv_obj_set_width__lv_obj_tP.lv_coord_t"></span><span class="target" id="lv__obj_8h_1a63d809001264dd8510fa9fe0f9aaced3"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_width</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">w</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv416lv_obj_set_widthP8lv_obj_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the width of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>w</strong> -- new width </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_obj_set_heightP8lv_obj_t10lv_coord_t">
<span id="_CPPv317lv_obj_set_heightP8lv_obj_t10lv_coord_t"></span><span id="_CPPv217lv_obj_set_heightP8lv_obj_t10lv_coord_t"></span><span id="lv_obj_set_height__lv_obj_tP.lv_coord_t"></span><span class="target" id="lv__obj_8h_1a0d3e5fba894449938df0b10c9f442537"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_height</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">h</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_obj_set_heightP8lv_obj_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the height of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>h</strong> -- new height </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv420lv_obj_set_width_fitP8lv_obj_t10lv_coord_t">
<span id="_CPPv320lv_obj_set_width_fitP8lv_obj_t10lv_coord_t"></span><span id="_CPPv220lv_obj_set_width_fitP8lv_obj_t10lv_coord_t"></span><span id="lv_obj_set_width_fit__lv_obj_tP.lv_coord_t"></span><span class="target" id="lv__obj_8h_1aafe18d3222556637c7ddf6a6a55ffd31"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_width_fit</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">w</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv420lv_obj_set_width_fitP8lv_obj_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the width reduced by the left and right padding. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>w</strong> -- the width without paddings </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv421lv_obj_set_height_fitP8lv_obj_t10lv_coord_t">
<span id="_CPPv321lv_obj_set_height_fitP8lv_obj_t10lv_coord_t"></span><span id="_CPPv221lv_obj_set_height_fitP8lv_obj_t10lv_coord_t"></span><span id="lv_obj_set_height_fit__lv_obj_tP.lv_coord_t"></span><span class="target" id="lv__obj_8h_1a6f3b1b3685753caff70160b57b4dcdf1"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_height_fit</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">h</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv421lv_obj_set_height_fitP8lv_obj_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the height reduced by the top and bottom padding. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>h</strong> -- the height without paddings </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv423lv_obj_set_width_marginP8lv_obj_t10lv_coord_t">
<span id="_CPPv323lv_obj_set_width_marginP8lv_obj_t10lv_coord_t"></span><span id="_CPPv223lv_obj_set_width_marginP8lv_obj_t10lv_coord_t"></span><span id="lv_obj_set_width_margin__lv_obj_tP.lv_coord_t"></span><span class="target" id="lv__obj_8h_1a0e6dfd44bfe3d9719a7b78f59ca3d271"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_width_margin</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">w</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv423lv_obj_set_width_marginP8lv_obj_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the width of an object by taking the left and right margin into account. The object width will be <code class="docutils literal notranslate"><span class="pre">obj_w</span> <span class="pre">=</span> <span class="pre">w</span> <span class="pre">-</span> <span class="pre">margin_left</span> <span class="pre">-</span> <span class="pre">margin_right</span></code> </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>w</strong> -- new height including margins </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv424lv_obj_set_height_marginP8lv_obj_t10lv_coord_t">
<span id="_CPPv324lv_obj_set_height_marginP8lv_obj_t10lv_coord_t"></span><span id="_CPPv224lv_obj_set_height_marginP8lv_obj_t10lv_coord_t"></span><span id="lv_obj_set_height_margin__lv_obj_tP.lv_coord_t"></span><span class="target" id="lv__obj_8h_1a4a97585db792c2308eb1441153104053"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_height_margin</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">h</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv424lv_obj_set_height_marginP8lv_obj_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the height of an object by taking the top and bottom margin into account. The object height will be <code class="docutils literal notranslate"><span class="pre">obj_h</span> <span class="pre">=</span> <span class="pre">h</span> <span class="pre">-</span> <span class="pre">margin_top</span> <span class="pre">-</span> <span class="pre">margin_bottom</span></code> </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>h</strong> -- new height including margins </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv412lv_obj_alignP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t10lv_coord_t">
<span id="_CPPv312lv_obj_alignP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t10lv_coord_t"></span><span id="_CPPv212lv_obj_alignP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t10lv_coord_t"></span><span id="lv_obj_align__lv_obj_tP.lv_obj_tCP.lv_align_t.lv_coord_t.lv_coord_t"></span><span class="target" id="lv__obj_8h_1a85f41473c55cd51c1fd364ea613e14ee"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_align</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">base</span></em>, <span class="pre">lv_align_t</span> <em><span class="pre">align</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">x_ofs</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">y_ofs</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv412lv_obj_alignP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Align an object to an other object. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object to align </p></li>
<li><p><strong>base</strong> -- pointer to an object (if NULL the parent is used). 'obj' will be aligned to it. </p></li>
<li><p><strong>align</strong> -- type of alignment (see 'lv_align_t' enum) </p></li>
<li><p><strong>x_ofs</strong> -- x coordinate offset after alignment </p></li>
<li><p><strong>y_ofs</strong> -- y coordinate offset after alignment </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv414lv_obj_align_xP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t">
<span id="_CPPv314lv_obj_align_xP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t"></span><span id="_CPPv214lv_obj_align_xP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t"></span><span id="lv_obj_align_x__lv_obj_tP.lv_obj_tCP.lv_align_t.lv_coord_t"></span><span class="target" id="lv__obj_8h_1a2073a440aced3d36e8d240cb5344ef46"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_align_x</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">base</span></em>, <span class="pre">lv_align_t</span> <em><span class="pre">align</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">x_ofs</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv414lv_obj_align_xP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Align an object to an other object horizontally. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object to align </p></li>
<li><p><strong>base</strong> -- pointer to an object (if NULL the parent is used). 'obj' will be aligned to it. </p></li>
<li><p><strong>align</strong> -- type of alignment (see 'lv_align_t' enum) </p></li>
<li><p><strong>x_ofs</strong> -- x coordinate offset after alignment </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv414lv_obj_align_yP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t">
<span id="_CPPv314lv_obj_align_yP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t"></span><span id="_CPPv214lv_obj_align_yP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t"></span><span id="lv_obj_align_y__lv_obj_tP.lv_obj_tCP.lv_align_t.lv_coord_t"></span><span class="target" id="lv__obj_8h_1acf3b4c522565c4ded39a1430b43451e0"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_align_y</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">base</span></em>, <span class="pre">lv_align_t</span> <em><span class="pre">align</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">y_ofs</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv414lv_obj_align_yP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Align an object to an other object vertically. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object to align </p></li>
<li><p><strong>base</strong> -- pointer to an object (if NULL the parent is used). 'obj' will be aligned to it. </p></li>
<li><p><strong>align</strong> -- type of alignment (see 'lv_align_t' enum) </p></li>
<li><p><strong>y_ofs</strong> -- y coordinate offset after alignment </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv416lv_obj_align_midP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t10lv_coord_t">
<span id="_CPPv316lv_obj_align_midP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t10lv_coord_t"></span><span id="_CPPv216lv_obj_align_midP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t10lv_coord_t"></span><span id="lv_obj_align_mid__lv_obj_tP.lv_obj_tCP.lv_align_t.lv_coord_t.lv_coord_t"></span><span class="target" id="lv__obj_8h_1a874cb49ee02168b9a447ea3b3ed34251"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_align_mid</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">base</span></em>, <span class="pre">lv_align_t</span> <em><span class="pre">align</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">x_ofs</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">y_ofs</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv416lv_obj_align_midP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Align an object to an other object. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object to align </p></li>
<li><p><strong>base</strong> -- pointer to an object (if NULL the parent is used). 'obj' will be aligned to it. </p></li>
<li><p><strong>align</strong> -- type of alignment (see 'lv_align_t' enum) </p></li>
<li><p><strong>x_ofs</strong> -- x coordinate offset after alignment </p></li>
<li><p><strong>y_ofs</strong> -- y coordinate offset after alignment </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv418lv_obj_align_mid_xP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t">
<span id="_CPPv318lv_obj_align_mid_xP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t"></span><span id="_CPPv218lv_obj_align_mid_xP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t"></span><span id="lv_obj_align_mid_x__lv_obj_tP.lv_obj_tCP.lv_align_t.lv_coord_t"></span><span class="target" id="lv__obj_8h_1a6970bc3b4fe3f9604b7c7a0bc4a12664"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_align_mid_x</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">base</span></em>, <span class="pre">lv_align_t</span> <em><span class="pre">align</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">x_ofs</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv418lv_obj_align_mid_xP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Align an object's middle point to an other object horizontally. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object to align </p></li>
<li><p><strong>base</strong> -- pointer to an object (if NULL the parent is used). 'obj' will be aligned to it. </p></li>
<li><p><strong>align</strong> -- type of alignment (see 'lv_align_t' enum) </p></li>
<li><p><strong>x_ofs</strong> -- x coordinate offset after alignment </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv418lv_obj_align_mid_yP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t">
<span id="_CPPv318lv_obj_align_mid_yP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t"></span><span id="_CPPv218lv_obj_align_mid_yP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t"></span><span id="lv_obj_align_mid_y__lv_obj_tP.lv_obj_tCP.lv_align_t.lv_coord_t"></span><span class="target" id="lv__obj_8h_1a014bc13287f2a817e8912d483be5c5cb"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_align_mid_y</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">base</span></em>, <span class="pre">lv_align_t</span> <em><span class="pre">align</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">y_ofs</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv418lv_obj_align_mid_yP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Align an object's middle point to an other object vertically. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object to align </p></li>
<li><p><strong>base</strong> -- pointer to an object (if NULL the parent is used). 'obj' will be aligned to it. </p></li>
<li><p><strong>align</strong> -- type of alignment (see 'lv_align_t' enum) </p></li>
<li><p><strong>y_ofs</strong> -- y coordinate offset after alignment </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv414lv_obj_realignP8lv_obj_t">
<span id="_CPPv314lv_obj_realignP8lv_obj_t"></span><span id="_CPPv214lv_obj_realignP8lv_obj_t"></span><span id="lv_obj_realign__lv_obj_tP"></span><span class="target" id="lv__obj_8h_1afd4a4d1b1733db6877bbcc088331f90d"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_realign</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv414lv_obj_realignP8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Realign the object based on the last <code class="docutils literal notranslate"><span class="pre">lv_obj_align</span></code> parameters. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv423lv_obj_set_auto_realignP8lv_obj_tb">
<span id="_CPPv323lv_obj_set_auto_realignP8lv_obj_tb"></span><span id="_CPPv223lv_obj_set_auto_realignP8lv_obj_tb"></span><span id="lv_obj_set_auto_realign__lv_obj_tP.b"></span><span class="target" id="lv__obj_8h_1a3df59c38faba6b47461f23269b43bb38"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_auto_realign</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">bool</span> <em><span class="pre">en</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv423lv_obj_set_auto_realignP8lv_obj_tb" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Enable the automatic realign of the object when its size has changed based on the last <code class="docutils literal notranslate"><span class="pre">lv_obj_align</span></code> parameters. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>en</strong> -- true: enable auto realign; false: disable auto realign </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv425lv_obj_set_ext_click_areaP8lv_obj_t10lv_coord_t10lv_coord_t10lv_coord_t10lv_coord_t">
<span id="_CPPv325lv_obj_set_ext_click_areaP8lv_obj_t10lv_coord_t10lv_coord_t10lv_coord_t10lv_coord_t"></span><span id="_CPPv225lv_obj_set_ext_click_areaP8lv_obj_t10lv_coord_t10lv_coord_t10lv_coord_t10lv_coord_t"></span><span id="lv_obj_set_ext_click_area__lv_obj_tP.lv_coord_t.lv_coord_t.lv_coord_t.lv_coord_t"></span><span class="target" id="lv__obj_8h_1aec7e167060da1cfe2fcf9fd796c57a06"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_ext_click_area</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">left</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">right</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">top</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">bottom</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv425lv_obj_set_ext_click_areaP8lv_obj_t10lv_coord_t10lv_coord_t10lv_coord_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the size of an extended clickable area </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>left</strong> -- extended clickable are on the left [px] </p></li>
<li><p><strong>right</strong> -- extended clickable are on the right [px] </p></li>
<li><p><strong>top</strong> -- extended clickable are on the top [px] </p></li>
<li><p><strong>bottom</strong> -- extended clickable are on the bottom [px] </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv416lv_obj_add_styleP8lv_obj_t7uint8_tP10lv_style_t">
<span id="_CPPv316lv_obj_add_styleP8lv_obj_t7uint8_tP10lv_style_t"></span><span id="_CPPv216lv_obj_add_styleP8lv_obj_t7uint8_tP10lv_style_t"></span><span id="lv_obj_add_style__lv_obj_tP.uint8_t.lv_style_tP"></span><span class="target" id="lv__obj_8h_1a8aa4714bef3ab5ad4e4bf09f9c5bd72e"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_add_style</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">part</span></em>, <a class="reference internal" href="../overview/style.html#_CPPv410lv_style_t" title="lv_style_t"><span class="pre">lv_style_t</span></a> <span class="pre">*</span><em><span class="pre">style</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv416lv_obj_add_styleP8lv_obj_t7uint8_tP10lv_style_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Add a new style to the style list of an object. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>part</strong> -- the part of the object which style property should be set. E.g. <code class="docutils literal notranslate"><span class="pre">LV_OBJ_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_BTN_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_SLIDER_PART_KNOB</span></code> </p></li>
<li><p><strong>style</strong> -- pointer to a style to add (Only its pointer will be saved) </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv419lv_obj_remove_styleP8lv_obj_t7uint8_tP10lv_style_t">
<span id="_CPPv319lv_obj_remove_styleP8lv_obj_t7uint8_tP10lv_style_t"></span><span id="_CPPv219lv_obj_remove_styleP8lv_obj_t7uint8_tP10lv_style_t"></span><span id="lv_obj_remove_style__lv_obj_tP.uint8_t.lv_style_tP"></span><span class="target" id="lv__obj_8h_1a76fdca3d1b0b4b34afa33d45c1427486"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_remove_style</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">part</span></em>, <a class="reference internal" href="../overview/style.html#_CPPv410lv_style_t" title="lv_style_t"><span class="pre">lv_style_t</span></a> <span class="pre">*</span><em><span class="pre">style</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419lv_obj_remove_styleP8lv_obj_t7uint8_tP10lv_style_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Remove a style from the style list of an object. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>part</strong> -- the part of the object which style property should be set. E.g. <code class="docutils literal notranslate"><span class="pre">LV_OBJ_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_BTN_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_SLIDER_PART_KNOB</span></code> </p></li>
<li><p><strong>style</strong> -- pointer to a style to remove </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv423lv_obj_clean_style_listP8lv_obj_t7uint8_t">
<span id="_CPPv323lv_obj_clean_style_listP8lv_obj_t7uint8_t"></span><span id="_CPPv223lv_obj_clean_style_listP8lv_obj_t7uint8_t"></span><span id="lv_obj_clean_style_list__lv_obj_tP.uint8_t"></span><span class="target" id="lv__obj_8h_1a9096fa270a44da04a99f589ce4ed1948"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_clean_style_list</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">part</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv423lv_obj_clean_style_listP8lv_obj_t7uint8_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Reset a style to the default (empty) state. Release all used memories and cancel pending related transitions. Typically used in `LV_SIGN_CLEAN_UP. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>part</strong> -- the part of the object which style list should be reset. E.g. <code class="docutils literal notranslate"><span class="pre">LV_OBJ_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_BTN_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_SLIDER_PART_KNOB</span></code> </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv423lv_obj_reset_style_listP8lv_obj_t7uint8_t">
<span id="_CPPv323lv_obj_reset_style_listP8lv_obj_t7uint8_t"></span><span id="_CPPv223lv_obj_reset_style_listP8lv_obj_t7uint8_t"></span><span id="lv_obj_reset_style_list__lv_obj_tP.uint8_t"></span><span class="target" id="lv__obj_8h_1a76ea9cd9d4bf925cd9f8eec08b4a458b"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_reset_style_list</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">part</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv423lv_obj_reset_style_listP8lv_obj_t7uint8_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Reset a style to the default (empty) state. Release all used memories and cancel pending related transitions. Also notifies the object about the style change. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>part</strong> -- the part of the object which style list should be reset. E.g. <code class="docutils literal notranslate"><span class="pre">LV_OBJ_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_BTN_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_SLIDER_PART_KNOB</span></code> </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv420lv_obj_refresh_styleP8lv_obj_t7uint8_t19lv_style_property_t">
<span id="_CPPv320lv_obj_refresh_styleP8lv_obj_t7uint8_t19lv_style_property_t"></span><span id="_CPPv220lv_obj_refresh_styleP8lv_obj_t7uint8_t19lv_style_property_t"></span><span id="lv_obj_refresh_style__lv_obj_tP.uint8_t.lv_style_property_t"></span><span class="target" id="lv__obj_8h_1ac7405a67ddcbaebba58be27bf75d3b84"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_refresh_style</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">part</span></em>, <a class="reference internal" href="../overview/style.html#_CPPv419lv_style_property_t" title="lv_style_property_t"><span class="pre">lv_style_property_t</span></a> <em><span class="pre">prop</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv420lv_obj_refresh_styleP8lv_obj_t7uint8_t19lv_style_property_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Notify an object (and its children) about its style is modified </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>prop</strong> -- <code class="docutils literal notranslate"><span class="pre">LV_STYLE_PROP_ALL</span></code> or an <code class="docutils literal notranslate"><span class="pre">LV_STYLE_...</span></code> property. It is used to optimize what needs to be refreshed. </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv423lv_obj_report_style_modP10lv_style_t">
<span id="_CPPv323lv_obj_report_style_modP10lv_style_t"></span><span id="_CPPv223lv_obj_report_style_modP10lv_style_t"></span><span id="lv_obj_report_style_mod__lv_style_tP"></span><span class="target" id="lv__obj_8h_1a044811a51cd2c0488a4b99aeda66b362"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_report_style_mod</span></code><span class="sig-paren">(</span><a class="reference internal" href="../overview/style.html#_CPPv410lv_style_t" title="lv_style_t"><span class="pre">lv_style_t</span></a> <span class="pre">*</span><em><span class="pre">style</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv423lv_obj_report_style_modP10lv_style_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Notify all object if a style is modified </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>style</strong> -- pointer to a style. Only the objects with this style will be notified (NULL to notify all objects) </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv429_lv_obj_set_style_local_colorP8lv_obj_t7uint8_t19lv_style_property_t10lv_color_t">
<span id="_CPPv329_lv_obj_set_style_local_colorP8lv_obj_t7uint8_t19lv_style_property_t10lv_color_t"></span><span id="_CPPv229_lv_obj_set_style_local_colorP8lv_obj_t7uint8_t19lv_style_property_t10lv_color_t"></span><span id="_lv_obj_set_style_local_color__lv_obj_tP.uint8_t.lv_style_property_t.lv_color_t"></span><span class="target" id="lv__obj_8h_1a3c14968027b3b58e6f6599e4d69142bc"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">_lv_obj_set_style_local_color</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">type</span></em>, <a class="reference internal" href="../overview/style.html#_CPPv419lv_style_property_t" title="lv_style_property_t"><span class="pre">lv_style_property_t</span></a> <em><span class="pre">prop</span></em>, <span class="pre">lv_color_t</span> <em><span class="pre">color</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv429_lv_obj_set_style_local_colorP8lv_obj_t7uint8_t19lv_style_property_t10lv_color_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set a local style property of a part of an object in a given state. </p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>shouldn't be used directly. Use the specific property get functions instead. For example: <code class="docutils literal notranslate"><span class="pre">lv_obj_style_get_border_opa()</span></code> </p>
</div>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>for performance reasons it's not checked if the property really has color type </p>
</div>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>part</strong> -- the part of the object which style property should be set. E.g. <code class="docutils literal notranslate"><span class="pre">LV_OBJ_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_BTN_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_SLIDER_PART_KNOB</span></code> </p></li>
<li><p><strong>prop</strong> -- a style property ORed with a state. E.g. <code class="docutils literal notranslate"><span class="pre">LV_STYLE_BORDER_COLOR</span> <span class="pre">|</span> <span class="pre">(LV_STATE_PRESSED</span> <span class="pre">&lt;&lt;</span> <span class="pre">LV_STYLE_STATE_POS)</span></code> </p></li>
<li><p><strong>the</strong> -- value to set </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv427_lv_obj_set_style_local_intP8lv_obj_t7uint8_t19lv_style_property_t14lv_style_int_t">
<span id="_CPPv327_lv_obj_set_style_local_intP8lv_obj_t7uint8_t19lv_style_property_t14lv_style_int_t"></span><span id="_CPPv227_lv_obj_set_style_local_intP8lv_obj_t7uint8_t19lv_style_property_t14lv_style_int_t"></span><span id="_lv_obj_set_style_local_int__lv_obj_tP.uint8_t.lv_style_property_t.lv_style_int_t"></span><span class="target" id="lv__obj_8h_1a27ecc91f1eac933b6d59d87813e8db87"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">_lv_obj_set_style_local_int</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">type</span></em>, <a class="reference internal" href="../overview/style.html#_CPPv419lv_style_property_t" title="lv_style_property_t"><span class="pre">lv_style_property_t</span></a> <em><span class="pre">prop</span></em>, <a class="reference internal" href="../overview/style.html#_CPPv414lv_style_int_t" title="lv_style_int_t"><span class="pre">lv_style_int_t</span></a> <em><span class="pre">value</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv427_lv_obj_set_style_local_intP8lv_obj_t7uint8_t19lv_style_property_t14lv_style_int_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set a local style property of a part of an object in a given state. </p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>shouldn't be used directly. Use the specific property get functions instead. For example: <code class="docutils literal notranslate"><span class="pre">lv_obj_style_get_border_opa()</span></code> </p>
</div>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>for performance reasons it's not checked if the property really has integer type </p>
</div>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>part</strong> -- the part of the object which style property should be set. E.g. <code class="docutils literal notranslate"><span class="pre">LV_OBJ_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_BTN_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_SLIDER_PART_KNOB</span></code> </p></li>
<li><p><strong>prop</strong> -- a style property ORed with a state. E.g. <code class="docutils literal notranslate"><span class="pre">LV_STYLE_BORDER_WIDTH</span> <span class="pre">|</span> <span class="pre">(LV_STATE_PRESSED</span> <span class="pre">&lt;&lt;</span> <span class="pre">LV_STYLE_STATE_POS)</span></code> </p></li>
<li><p><strong>the</strong> -- value to set </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv427_lv_obj_set_style_local_opaP8lv_obj_t7uint8_t19lv_style_property_t8lv_opa_t">
<span id="_CPPv327_lv_obj_set_style_local_opaP8lv_obj_t7uint8_t19lv_style_property_t8lv_opa_t"></span><span id="_CPPv227_lv_obj_set_style_local_opaP8lv_obj_t7uint8_t19lv_style_property_t8lv_opa_t"></span><span id="_lv_obj_set_style_local_opa__lv_obj_tP.uint8_t.lv_style_property_t.lv_opa_t"></span><span class="target" id="lv__obj_8h_1a612f9bc6d48d74171528cc7f1db6dd57"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">_lv_obj_set_style_local_opa</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">type</span></em>, <a class="reference internal" href="../overview/style.html#_CPPv419lv_style_property_t" title="lv_style_property_t"><span class="pre">lv_style_property_t</span></a> <em><span class="pre">prop</span></em>, <span class="pre">lv_opa_t</span> <em><span class="pre">opa</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv427_lv_obj_set_style_local_opaP8lv_obj_t7uint8_t19lv_style_property_t8lv_opa_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set a local style property of a part of an object in a given state. </p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>shouldn't be used directly. Use the specific property get functions instead. For example: <code class="docutils literal notranslate"><span class="pre">lv_obj_style_get_border_opa()</span></code> </p>
</div>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>for performance reasons it's not checked if the property really has opacity type </p>
</div>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>part</strong> -- the part of the object which style property should be set. E.g. <code class="docutils literal notranslate"><span class="pre">LV_OBJ_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_BTN_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_SLIDER_PART_KNOB</span></code> </p></li>
<li><p><strong>prop</strong> -- a style property ORed with a state. E.g. <code class="docutils literal notranslate"><span class="pre">LV_STYLE_BORDER_OPA</span> <span class="pre">|</span> <span class="pre">(LV_STATE_PRESSED</span> <span class="pre">&lt;&lt;</span> <span class="pre">LV_STYLE_STATE_POS)</span></code> </p></li>
<li><p><strong>the</strong> -- value to set </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv427_lv_obj_set_style_local_ptrP8lv_obj_t7uint8_t19lv_style_property_tPKv">
<span id="_CPPv327_lv_obj_set_style_local_ptrP8lv_obj_t7uint8_t19lv_style_property_tPKv"></span><span id="_CPPv227_lv_obj_set_style_local_ptrP8lv_obj_t7uint8_t19lv_style_property_tPKv"></span><span id="_lv_obj_set_style_local_ptr__lv_obj_tP.uint8_t.lv_style_property_t.voidCP"></span><span class="target" id="lv__obj_8h_1a52f071edacd378ad01b0b23963ef075f"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">_lv_obj_set_style_local_ptr</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">type</span></em>, <a class="reference internal" href="../overview/style.html#_CPPv419lv_style_property_t" title="lv_style_property_t"><span class="pre">lv_style_property_t</span></a> <em><span class="pre">prop</span></em>, <em class="property"><span class="pre">const</span></em> <span class="pre">void</span> <span class="pre">*</span><em><span class="pre">value</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv427_lv_obj_set_style_local_ptrP8lv_obj_t7uint8_t19lv_style_property_tPKv" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set a local style property of a part of an object in a given state. </p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>shouldn't be used directly. Use the specific property get functions instead. For example: <code class="docutils literal notranslate"><span class="pre">lv_obj_style_get_border_opa()</span></code> </p>
</div>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>for performance reasons it's not checked if the property really has pointer type </p>
</div>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>part</strong> -- the part of the object which style property should be set. E.g. <code class="docutils literal notranslate"><span class="pre">LV_OBJ_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_BTN_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_SLIDER_PART_KNOB</span></code> </p></li>
<li><p><strong>prop</strong> -- a style property ORed with a state. E.g. <code class="docutils literal notranslate"><span class="pre">LV_STYLE_TEXT_FONT</span> <span class="pre">|</span> <span class="pre">(LV_STATE_PRESSED</span> <span class="pre">&lt;&lt;</span> <span class="pre">LV_STYLE_STATE_POS)</span></code> </p></li>
<li><p><strong>the</strong> -- value to set </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv430lv_obj_remove_style_local_propP8lv_obj_t7uint8_t19lv_style_property_t">
<span id="_CPPv330lv_obj_remove_style_local_propP8lv_obj_t7uint8_t19lv_style_property_t"></span><span id="_CPPv230lv_obj_remove_style_local_propP8lv_obj_t7uint8_t19lv_style_property_t"></span><span id="lv_obj_remove_style_local_prop__lv_obj_tP.uint8_t.lv_style_property_t"></span><span class="target" id="lv__obj_8h_1a9a90382df125ebea968e1c0a4a8c1f37"></span><span class="pre">bool</span> <code class="sig-name descname"><span class="pre">lv_obj_remove_style_local_prop</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">part</span></em>, <a class="reference internal" href="../overview/style.html#_CPPv419lv_style_property_t" title="lv_style_property_t"><span class="pre">lv_style_property_t</span></a> <em><span class="pre">prop</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv430lv_obj_remove_style_local_propP8lv_obj_t7uint8_t19lv_style_property_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Remove a local style property from a part of an object with a given state. </p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>shouldn't be used directly. Use the specific property remove functions instead. For example: <code class="docutils literal notranslate"><span class="pre">lv_obj_style_remove_border_opa()</span></code> </p>
</div>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>part</strong> -- the part of the object which style property should be removed. E.g. <code class="docutils literal notranslate"><span class="pre">LV_OBJ_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_BTN_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_SLIDER_PART_KNOB</span></code> </p></li>
<li><p><strong>prop</strong> -- a style property ORed with a state. E.g. <code class="docutils literal notranslate"><span class="pre">LV_STYLE_TEXT_FONT</span> <span class="pre">|</span> <span class="pre">(LV_STATE_PRESSED</span> <span class="pre">&lt;&lt;</span> <span class="pre">LV_STYLE_STATE_POS)</span></code> </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>true: the property was found and removed; false: the property was not found </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv429_lv_obj_disable_style_cachingP8lv_obj_tb">
<span id="_CPPv329_lv_obj_disable_style_cachingP8lv_obj_tb"></span><span id="_CPPv229_lv_obj_disable_style_cachingP8lv_obj_tb"></span><span id="_lv_obj_disable_style_caching__lv_obj_tP.b"></span><span class="target" id="lv__obj_8h_1a45d4e9ac919717dc5306cca1da60b1bc"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">_lv_obj_disable_style_caching</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">bool</span> <em><span class="pre">dis</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv429_lv_obj_disable_style_cachingP8lv_obj_tb" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Enable/disable the use of style cache for an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>dis</strong> -- true: disable; false: enable (re-enable) </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_obj_set_hiddenP8lv_obj_tb">
<span id="_CPPv317lv_obj_set_hiddenP8lv_obj_tb"></span><span id="_CPPv217lv_obj_set_hiddenP8lv_obj_tb"></span><span id="lv_obj_set_hidden__lv_obj_tP.b"></span><span class="target" id="lv__obj_8h_1a68d00213906652fd3ab84f2e7dd4f133"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_hidden</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">bool</span> <em><span class="pre">en</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_obj_set_hiddenP8lv_obj_tb" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Hide an object. It won't be visible and clickable. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>en</strong> -- true: hide the object </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv422lv_obj_set_adv_hittestP8lv_obj_tb">
<span id="_CPPv322lv_obj_set_adv_hittestP8lv_obj_tb"></span><span id="_CPPv222lv_obj_set_adv_hittestP8lv_obj_tb"></span><span id="lv_obj_set_adv_hittest__lv_obj_tP.b"></span><span class="target" id="lv__obj_8h_1a7086b986efe320a892e0053912314007"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_adv_hittest</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">bool</span> <em><span class="pre">en</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv422lv_obj_set_adv_hittestP8lv_obj_tb" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set whether advanced hit-testing is enabled on an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>en</strong> -- true: advanced hit-testing is enabled </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv416lv_obj_set_clickP8lv_obj_tb">
<span id="_CPPv316lv_obj_set_clickP8lv_obj_tb"></span><span id="_CPPv216lv_obj_set_clickP8lv_obj_tb"></span><span id="lv_obj_set_click__lv_obj_tP.b"></span><span class="target" id="lv__obj_8h_1a0c8cd5f39061009596025309672dae89"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_click</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">bool</span> <em><span class="pre">en</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv416lv_obj_set_clickP8lv_obj_tb" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Enable or disable the clicking of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>en</strong> -- true: make the object clickable </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv414lv_obj_set_topP8lv_obj_tb">
<span id="_CPPv314lv_obj_set_topP8lv_obj_tb"></span><span id="_CPPv214lv_obj_set_topP8lv_obj_tb"></span><span id="lv_obj_set_top__lv_obj_tP.b"></span><span class="target" id="lv__obj_8h_1af7857ca4d8ac1e8183f5d5f0f1d0ba33"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_top</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">bool</span> <em><span class="pre">en</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv414lv_obj_set_topP8lv_obj_tb" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Enable to bring this object to the foreground if it or any of its children is clicked </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>en</strong> -- true: enable the auto top feature </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv415lv_obj_set_dragP8lv_obj_tb">
<span id="_CPPv315lv_obj_set_dragP8lv_obj_tb"></span><span id="_CPPv215lv_obj_set_dragP8lv_obj_tb"></span><span id="lv_obj_set_drag__lv_obj_tP.b"></span><span class="target" id="lv__obj_8h_1a696adcf79f6d66da07fdae2cd30bc9d2"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_drag</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">bool</span> <em><span class="pre">en</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv415lv_obj_set_dragP8lv_obj_tb" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Enable the dragging of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>en</strong> -- true: make the object draggable </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv419lv_obj_set_drag_dirP8lv_obj_t13lv_drag_dir_t">
<span id="_CPPv319lv_obj_set_drag_dirP8lv_obj_t13lv_drag_dir_t"></span><span id="_CPPv219lv_obj_set_drag_dirP8lv_obj_t13lv_drag_dir_t"></span><span id="lv_obj_set_drag_dir__lv_obj_tP.lv_drag_dir_t"></span><span class="target" id="lv__obj_8h_1a58a943c6984048224bbb9771b7824b8f"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_drag_dir</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <a class="reference internal" href="../porting/indev.html#_CPPv413lv_drag_dir_t" title="lv_drag_dir_t"><span class="pre">lv_drag_dir_t</span></a> <em><span class="pre">drag_dir</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419lv_obj_set_drag_dirP8lv_obj_t13lv_drag_dir_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the directions an object can be dragged in </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>drag_dir</strong> -- bitwise OR of allowed drag directions </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv421lv_obj_set_drag_throwP8lv_obj_tb">
<span id="_CPPv321lv_obj_set_drag_throwP8lv_obj_tb"></span><span id="_CPPv221lv_obj_set_drag_throwP8lv_obj_tb"></span><span id="lv_obj_set_drag_throw__lv_obj_tP.b"></span><span class="target" id="lv__obj_8h_1afcc8485737f799ba463194226f5d58fc"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_drag_throw</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">bool</span> <em><span class="pre">en</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv421lv_obj_set_drag_throwP8lv_obj_tb" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Enable the throwing of an object after is is dragged </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>en</strong> -- true: enable the drag throw </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv422lv_obj_set_drag_parentP8lv_obj_tb">
<span id="_CPPv322lv_obj_set_drag_parentP8lv_obj_tb"></span><span id="_CPPv222lv_obj_set_drag_parentP8lv_obj_tb"></span><span id="lv_obj_set_drag_parent__lv_obj_tP.b"></span><span class="target" id="lv__obj_8h_1a542be047fdc3ac17cf2c319bcb4dfdb9"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_drag_parent</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">bool</span> <em><span class="pre">en</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv422lv_obj_set_drag_parentP8lv_obj_tb" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Enable to use parent for drag related operations. If trying to drag the object the parent will be moved instead </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>en</strong> -- true: enable the 'drag parent' for the object </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv423lv_obj_set_focus_parentP8lv_obj_tb">
<span id="_CPPv323lv_obj_set_focus_parentP8lv_obj_tb"></span><span id="_CPPv223lv_obj_set_focus_parentP8lv_obj_tb"></span><span id="lv_obj_set_focus_parent__lv_obj_tP.b"></span><span class="target" id="lv__obj_8h_1a86ca9d8cb0d85950ea4d3183b317b33b"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_focus_parent</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">bool</span> <em><span class="pre">en</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv423lv_obj_set_focus_parentP8lv_obj_tb" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Enable to use parent for focus state. When object is focused the parent will get the state instead (visual only) </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>en</strong> -- true: enable the 'focus parent' for the object </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv425lv_obj_set_gesture_parentP8lv_obj_tb">
<span id="_CPPv325lv_obj_set_gesture_parentP8lv_obj_tb"></span><span id="_CPPv225lv_obj_set_gesture_parentP8lv_obj_tb"></span><span id="lv_obj_set_gesture_parent__lv_obj_tP.b"></span><span class="target" id="lv__obj_8h_1a5a5a282047ee517d06a1388e7d1700f0"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_gesture_parent</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">bool</span> <em><span class="pre">en</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv425lv_obj_set_gesture_parentP8lv_obj_tb" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Enable to use parent for gesture related operations. If trying to gesture the object the parent will be moved instead </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>en</strong> -- true: enable the 'gesture parent' for the object </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv423lv_obj_set_parent_eventP8lv_obj_tb">
<span id="_CPPv323lv_obj_set_parent_eventP8lv_obj_tb"></span><span id="_CPPv223lv_obj_set_parent_eventP8lv_obj_tb"></span><span id="lv_obj_set_parent_event__lv_obj_tP.b"></span><span class="target" id="lv__obj_8h_1af56bad14914d3fdb5d242d3883ce491c"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_parent_event</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">bool</span> <em><span class="pre">en</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv423lv_obj_set_parent_eventP8lv_obj_tb" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Propagate the events to the parent too </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>en</strong> -- true: enable the event propagation </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv419lv_obj_set_base_dirP8lv_obj_t13lv_bidi_dir_t">
<span id="_CPPv319lv_obj_set_base_dirP8lv_obj_t13lv_bidi_dir_t"></span><span id="_CPPv219lv_obj_set_base_dirP8lv_obj_t13lv_bidi_dir_t"></span><span id="lv_obj_set_base_dir__lv_obj_tP.lv_bidi_dir_t"></span><span class="target" id="lv__obj_8h_1a6a086ccdbb96cabcae1f185225215f61"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_base_dir</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">lv_bidi_dir_t</span> <em><span class="pre">dir</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419lv_obj_set_base_dirP8lv_obj_t13lv_bidi_dir_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the base direction of the object </p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>This only works if LV_USE_BIDI is enabled. </p>
</div>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>dir</strong> -- the new base direction. <code class="docutils literal notranslate"><span class="pre">LV_BIDI_DIR_LTR/RTL/AUTO/INHERIT</span></code> </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv418lv_obj_add_protectP8lv_obj_t7uint8_t">
<span id="_CPPv318lv_obj_add_protectP8lv_obj_t7uint8_t"></span><span id="_CPPv218lv_obj_add_protectP8lv_obj_t7uint8_t"></span><span id="lv_obj_add_protect__lv_obj_tP.uint8_t"></span><span class="target" id="lv__obj_8h_1acbdf986364d8a59ab4b5bfd014888f6e"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_add_protect</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">prot</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv418lv_obj_add_protectP8lv_obj_t7uint8_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set a bit or bits in the protect filed </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>prot</strong> -- 'OR'-ed values from <code class="docutils literal notranslate"><span class="pre">lv_protect_t</span></code> </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv420lv_obj_clear_protectP8lv_obj_t7uint8_t">
<span id="_CPPv320lv_obj_clear_protectP8lv_obj_t7uint8_t"></span><span id="_CPPv220lv_obj_clear_protectP8lv_obj_t7uint8_t"></span><span id="lv_obj_clear_protect__lv_obj_tP.uint8_t"></span><span class="target" id="lv__obj_8h_1a3b359e8f898fd2c8b8d1ab0c07919e15"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_clear_protect</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">prot</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv420lv_obj_clear_protectP8lv_obj_t7uint8_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Clear a bit or bits in the protect filed </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>prot</strong> -- 'OR'-ed values from <code class="docutils literal notranslate"><span class="pre">lv_protect_t</span></code> </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv416lv_obj_set_stateP8lv_obj_t10lv_state_t">
<span id="_CPPv316lv_obj_set_stateP8lv_obj_t10lv_state_t"></span><span id="_CPPv216lv_obj_set_stateP8lv_obj_t10lv_state_t"></span><span id="lv_obj_set_state__lv_obj_tP.lv_state_t"></span><span class="target" id="lv__obj_8h_1ace09574c4d1321eb3d0901052bda1231"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_state</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <a class="reference internal" href="#_CPPv410lv_state_t" title="lv_state_t"><span class="pre">lv_state_t</span></a> <em><span class="pre">state</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv416lv_obj_set_stateP8lv_obj_t10lv_state_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the state (fully overwrite) of an object. If specified in the styles a transition animation will be started from the previous state to the current </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>state</strong> -- the new state </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv416lv_obj_add_stateP8lv_obj_t10lv_state_t">
<span id="_CPPv316lv_obj_add_stateP8lv_obj_t10lv_state_t"></span><span id="_CPPv216lv_obj_add_stateP8lv_obj_t10lv_state_t"></span><span id="lv_obj_add_state__lv_obj_tP.lv_state_t"></span><span class="target" id="lv__obj_8h_1adbd258635d3d653e5446336764044db1"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_add_state</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <a class="reference internal" href="#_CPPv410lv_state_t" title="lv_state_t"><span class="pre">lv_state_t</span></a> <em><span class="pre">state</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv416lv_obj_add_stateP8lv_obj_t10lv_state_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Add a given state or states to the object. The other state bits will remain unchanged. If specified in the styles a transition animation will be started from the previous state to the current </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>state</strong> -- the state bits to add. E.g <code class="docutils literal notranslate"><span class="pre">LV_STATE_PRESSED</span> <span class="pre">|</span> <span class="pre">LV_STATE_FOCUSED</span></code> </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv418lv_obj_clear_stateP8lv_obj_t10lv_state_t">
<span id="_CPPv318lv_obj_clear_stateP8lv_obj_t10lv_state_t"></span><span id="_CPPv218lv_obj_clear_stateP8lv_obj_t10lv_state_t"></span><span id="lv_obj_clear_state__lv_obj_tP.lv_state_t"></span><span class="target" id="lv__obj_8h_1ac94c26d36140c7c83da6914d60170e16"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_clear_state</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <a class="reference internal" href="#_CPPv410lv_state_t" title="lv_state_t"><span class="pre">lv_state_t</span></a> <em><span class="pre">state</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv418lv_obj_clear_stateP8lv_obj_t10lv_state_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Remove a given state or states to the object. The other state bits will remain unchanged. If specified in the styles a transition animation will be started from the previous state to the current </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>state</strong> -- the state bits to remove. E.g <code class="docutils literal notranslate"><span class="pre">LV_STATE_PRESSED</span> <span class="pre">|</span> <span class="pre">LV_STATE_FOCUSED</span></code> </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv425lv_obj_finish_transitionsP8lv_obj_t7uint8_t">
<span id="_CPPv325lv_obj_finish_transitionsP8lv_obj_t7uint8_t"></span><span id="_CPPv225lv_obj_finish_transitionsP8lv_obj_t7uint8_t"></span><span id="lv_obj_finish_transitions__lv_obj_tP.uint8_t"></span><span class="target" id="lv__obj_8h_1ab9eff15aab87284d8a0e7f217aa90e8b"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_finish_transitions</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">part</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv425lv_obj_finish_transitionsP8lv_obj_t7uint8_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Finish all pending transitions on a part of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>part</strong> -- part of the object, e.g <code class="docutils literal notranslate"><span class="pre">LV_BRN_PART_MAIN</span></code> or <code class="docutils literal notranslate"><span class="pre">LV_OBJ_PART_ALL</span></code> for all parts </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv419lv_obj_set_event_cbP8lv_obj_t13lv_event_cb_t">
<span id="_CPPv319lv_obj_set_event_cbP8lv_obj_t13lv_event_cb_t"></span><span id="_CPPv219lv_obj_set_event_cbP8lv_obj_t13lv_event_cb_t"></span><span id="lv_obj_set_event_cb__lv_obj_tP.lv_event_cb_t"></span><span class="target" id="lv__obj_8h_1a16c2f9020fcde51036b3e319b6217203"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_event_cb</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <a class="reference internal" href="#_CPPv413lv_event_cb_t" title="lv_event_cb_t"><span class="pre">lv_event_cb_t</span></a> <em><span class="pre">event_cb</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419lv_obj_set_event_cbP8lv_obj_t13lv_event_cb_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set a an event handler function for an object. Used by the user to react on event which happens with the object. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>event_cb</strong> -- the new event function </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv413lv_event_sendP8lv_obj_t10lv_event_tPKv">
<span id="_CPPv313lv_event_sendP8lv_obj_t10lv_event_tPKv"></span><span id="_CPPv213lv_event_sendP8lv_obj_t10lv_event_tPKv"></span><span id="lv_event_send__lv_obj_tP.lv_event_t.voidCP"></span><span class="target" id="lv__obj_8h_1acc3d57f4139c996ffb8d9f4550c2b820"></span><span class="pre">lv_res_t</span> <code class="sig-name descname"><span class="pre">lv_event_send</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <a class="reference internal" href="#_CPPv410lv_event_t" title="lv_event_t"><span class="pre">lv_event_t</span></a> <em><span class="pre">event</span></em>, <em class="property"><span class="pre">const</span></em> <span class="pre">void</span> <span class="pre">*</span><em><span class="pre">data</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv413lv_event_sendP8lv_obj_t10lv_event_tPKv" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Send an event to the object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>event</strong> -- the type of the event from <code class="docutils literal notranslate"><span class="pre">lv_event_t</span></code>. </p></li>
<li><p><strong>data</strong> -- arbitrary data depending on the object type and the event. (Usually <code class="docutils literal notranslate"><span class="pre">NULL</span></code>) </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>LV_RES_OK: <code class="docutils literal notranslate"><span class="pre">obj</span></code> was not deleted in the event; LV_RES_INV: <code class="docutils literal notranslate"><span class="pre">obj</span></code> was deleted in the event </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv421lv_event_send_refreshP8lv_obj_t">
<span id="_CPPv321lv_event_send_refreshP8lv_obj_t"></span><span id="_CPPv221lv_event_send_refreshP8lv_obj_t"></span><span id="lv_event_send_refresh__lv_obj_tP"></span><span class="target" id="lv__obj_8h_1aadf4603503bc7bd0cb565125f2b9ef08"></span><span class="pre">lv_res_t</span> <code class="sig-name descname"><span class="pre">lv_event_send_refresh</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv421lv_event_send_refreshP8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Send LV_EVENT_REFRESH event to an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- point to an object. (Can NOT be NULL) </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>LV_RES_OK: success, LV_RES_INV: to object become invalid (e.g. deleted) due to this event. </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv431lv_event_send_refresh_recursiveP8lv_obj_t">
<span id="_CPPv331lv_event_send_refresh_recursiveP8lv_obj_t"></span><span id="_CPPv231lv_event_send_refresh_recursiveP8lv_obj_t"></span><span id="lv_event_send_refresh_recursive__lv_obj_tP"></span><span class="target" id="lv__obj_8h_1a1904ecbfc60e02fe4a0aff3cb8b3af33"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_event_send_refresh_recursive</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv431lv_event_send_refresh_recursiveP8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Send LV_EVENT_REFRESH event to an object and all of its children </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object or NULL to refresh all objects of all displays </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv418lv_event_send_func13lv_event_cb_tP8lv_obj_t10lv_event_tPKv">
<span id="_CPPv318lv_event_send_func13lv_event_cb_tP8lv_obj_t10lv_event_tPKv"></span><span id="_CPPv218lv_event_send_func13lv_event_cb_tP8lv_obj_t10lv_event_tPKv"></span><span id="lv_event_send_func__lv_event_cb_t.lv_obj_tP.lv_event_t.voidCP"></span><span class="target" id="lv__obj_8h_1ab336a88a900b047e3bfd077a8d4ef20b"></span><span class="pre">lv_res_t</span> <code class="sig-name descname"><span class="pre">lv_event_send_func</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv413lv_event_cb_t" title="lv_event_cb_t"><span class="pre">lv_event_cb_t</span></a> <em><span class="pre">event_xcb</span></em>, <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <a class="reference internal" href="#_CPPv410lv_event_t" title="lv_event_t"><span class="pre">lv_event_t</span></a> <em><span class="pre">event</span></em>, <em class="property"><span class="pre">const</span></em> <span class="pre">void</span> <span class="pre">*</span><em><span class="pre">data</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv418lv_event_send_func13lv_event_cb_tP8lv_obj_t10lv_event_tPKv" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Call an event function with an object, event, and data. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>event_xcb</strong> -- an event callback function. If <code class="docutils literal notranslate"><span class="pre">NULL</span></code> <code class="docutils literal notranslate"><span class="pre">LV_RES_OK</span></code> will return without any actions. (the 'x' in the argument name indicates that its not a fully generic function because it not follows the <code class="docutils literal notranslate"><span class="pre">func_name(object,</span> <span class="pre">callback,</span> <span class="pre">...)</span></code> convention) </p></li>
<li><p><strong>obj</strong> -- pointer to an object to associate with the event (can be <code class="docutils literal notranslate"><span class="pre">NULL</span></code> to simply call the <code class="docutils literal notranslate"><span class="pre">event_cb</span></code>) </p></li>
<li><p><strong>event</strong> -- an event </p></li>
<li><p><strong>data</strong> -- pointer to a custom data </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>LV_RES_OK: <code class="docutils literal notranslate"><span class="pre">obj</span></code> was not deleted in the event; LV_RES_INV: <code class="docutils literal notranslate"><span class="pre">obj</span></code> was deleted in the event </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_event_get_datav">
<span id="_CPPv317lv_event_get_datav"></span><span id="_CPPv217lv_event_get_datav"></span><span id="lv_event_get_data__void"></span><span class="target" id="lv__obj_8h_1a472e53d23fcabb36ca29bd53b6ac8c15"></span><em class="property"><span class="pre">const</span></em> <span class="pre">void</span> <span class="pre">*</span><code class="sig-name descname"><span class="pre">lv_event_get_data</span></code><span class="sig-paren">(</span><span class="pre">void</span><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_event_get_datav" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the <code class="docutils literal notranslate"><span class="pre">data</span></code> parameter of the current event </p>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>the <code class="docutils literal notranslate"><span class="pre">data</span></code> parameter </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv420lv_obj_set_signal_cbP8lv_obj_t14lv_signal_cb_t">
<span id="_CPPv320lv_obj_set_signal_cbP8lv_obj_t14lv_signal_cb_t"></span><span id="_CPPv220lv_obj_set_signal_cbP8lv_obj_t14lv_signal_cb_t"></span><span id="lv_obj_set_signal_cb__lv_obj_tP.lv_signal_cb_t"></span><span class="target" id="lv__obj_8h_1a9b15e80bc5b1fa338dcec4eab720796b"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_signal_cb</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <a class="reference internal" href="#_CPPv414lv_signal_cb_t" title="lv_signal_cb_t"><span class="pre">lv_signal_cb_t</span></a> <em><span class="pre">signal_cb</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv420lv_obj_set_signal_cbP8lv_obj_t14lv_signal_cb_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the a signal function of an object. Used internally by the library. Always call the previous signal function in the new. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>signal_cb</strong> -- the new signal function </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv414lv_signal_sendP8lv_obj_t11lv_signal_tPv">
<span id="_CPPv314lv_signal_sendP8lv_obj_t11lv_signal_tPv"></span><span id="_CPPv214lv_signal_sendP8lv_obj_t11lv_signal_tPv"></span><span id="lv_signal_send__lv_obj_tP.lv_signal_t.voidP"></span><span class="target" id="lv__obj_8h_1a5ed22d66695e9f91f08055f200f79cd2"></span><span class="pre">lv_res_t</span> <code class="sig-name descname"><span class="pre">lv_signal_send</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <a class="reference internal" href="#_CPPv411lv_signal_t" title="lv_signal_t"><span class="pre">lv_signal_t</span></a> <em><span class="pre">signal</span></em>, <span class="pre">void</span> <span class="pre">*</span><em><span class="pre">param</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv414lv_signal_sendP8lv_obj_t11lv_signal_tPv" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Send an event to the object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>event</strong> -- the type of the event from <code class="docutils literal notranslate"><span class="pre">lv_event_t</span></code>. </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>LV_RES_OK or LV_RES_INV </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv420lv_obj_set_design_cbP8lv_obj_t14lv_design_cb_t">
<span id="_CPPv320lv_obj_set_design_cbP8lv_obj_t14lv_design_cb_t"></span><span id="_CPPv220lv_obj_set_design_cbP8lv_obj_t14lv_design_cb_t"></span><span id="lv_obj_set_design_cb__lv_obj_tP.lv_design_cb_t"></span><span class="target" id="lv__obj_8h_1aa97d824b977176ad1d8eb1b9e1675e0f"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_design_cb</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <a class="reference internal" href="#_CPPv414lv_design_cb_t" title="lv_design_cb_t"><span class="pre">lv_design_cb_t</span></a> <em><span class="pre">design_cb</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv420lv_obj_set_design_cbP8lv_obj_t14lv_design_cb_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set a new design function for an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>design_cb</strong> -- the new design function </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv424lv_obj_allocate_ext_attrP8lv_obj_t8uint16_t">
<span id="_CPPv324lv_obj_allocate_ext_attrP8lv_obj_t8uint16_t"></span><span id="_CPPv224lv_obj_allocate_ext_attrP8lv_obj_t8uint16_t"></span><span id="lv_obj_allocate_ext_attr__lv_obj_tP.uint16_t"></span><span class="target" id="lv__obj_8h_1aeb8dea7afde33b8851b8e3386c7314a4"></span><span class="pre">void</span> <span class="pre">*</span><code class="sig-name descname"><span class="pre">lv_obj_allocate_ext_attr</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint16_t</span> <em><span class="pre">ext_size</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv424lv_obj_allocate_ext_attrP8lv_obj_t8uint16_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Allocate a new ext. data for an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>ext_size</strong> -- the size of the new ext. data </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>pointer to the allocated ext </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv427lv_obj_refresh_ext_draw_padP8lv_obj_t">
<span id="_CPPv327lv_obj_refresh_ext_draw_padP8lv_obj_t"></span><span id="_CPPv227lv_obj_refresh_ext_draw_padP8lv_obj_t"></span><span id="lv_obj_refresh_ext_draw_pad__lv_obj_tP"></span><span class="target" id="lv__obj_8h_1aeb89ad1cad229158b40e7bb97be07b03"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_refresh_ext_draw_pad</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv427lv_obj_refresh_ext_draw_padP8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Send a 'LV_SIGNAL_REFR_EXT_SIZE' signal to the object to refresh the extended draw area. he object needs to be invalidated by <code class="docutils literal notranslate"><span class="pre">lv_obj_invalidate(obj)</span></code> manually after this function. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_obj_get_screenPK8lv_obj_t">
<span id="_CPPv317lv_obj_get_screenPK8lv_obj_t"></span><span id="_CPPv217lv_obj_get_screenPK8lv_obj_t"></span><span id="lv_obj_get_screen__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a52e56ecd96b78115ed0b51c36f653747"></span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><code class="sig-name descname"><span class="pre">lv_obj_get_screen</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_obj_get_screenPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Return with the screen of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>pointer to a screen </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv415lv_obj_get_dispPK8lv_obj_t">
<span id="_CPPv315lv_obj_get_dispPK8lv_obj_t"></span><span id="_CPPv215lv_obj_get_dispPK8lv_obj_t"></span><span id="lv_obj_get_disp__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a0bd81ae3f2213e55c43c3129b03d2649"></span><a class="reference internal" href="../porting/display.html#_CPPv49lv_disp_t" title="lv_disp_t"><span class="pre">lv_disp_t</span></a> <span class="pre">*</span><code class="sig-name descname"><span class="pre">lv_obj_get_disp</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv415lv_obj_get_dispPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the display of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>pointer the object's display </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_obj_get_parentPK8lv_obj_t">
<span id="_CPPv317lv_obj_get_parentPK8lv_obj_t"></span><span id="_CPPv217lv_obj_get_parentPK8lv_obj_t"></span><span id="lv_obj_get_parent__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a52905721cbc66958ef9fd1361522f4e4"></span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><code class="sig-name descname"><span class="pre">lv_obj_get_parent</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_obj_get_parentPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Returns with the parent of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>pointer to the parent of 'obj' </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv416lv_obj_get_childPK8lv_obj_tPK8lv_obj_t">
<span id="_CPPv316lv_obj_get_childPK8lv_obj_tPK8lv_obj_t"></span><span id="_CPPv216lv_obj_get_childPK8lv_obj_tPK8lv_obj_t"></span><span id="lv_obj_get_child__lv_obj_tCP.lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a36dcadffbb0a2bf02feb62b6a2f963aa"></span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><code class="sig-name descname"><span class="pre">lv_obj_get_child</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">child</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv416lv_obj_get_childPK8lv_obj_tPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Iterate through the children of an object (start from the &quot;youngest, lastly created&quot;) </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>child</strong> -- NULL at first call to get the next children and the previous return value later </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the child after 'act_child' or NULL if no more child </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv421lv_obj_get_child_backPK8lv_obj_tPK8lv_obj_t">
<span id="_CPPv321lv_obj_get_child_backPK8lv_obj_tPK8lv_obj_t"></span><span id="_CPPv221lv_obj_get_child_backPK8lv_obj_tPK8lv_obj_t"></span><span id="lv_obj_get_child_back__lv_obj_tCP.lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1ab620077d4e1d0a6f75dd443e5a4a67a8"></span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><code class="sig-name descname"><span class="pre">lv_obj_get_child_back</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">child</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv421lv_obj_get_child_backPK8lv_obj_tPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Iterate through the children of an object (start from the &quot;oldest&quot;, firstly created) </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>child</strong> -- NULL at first call to get the next children and the previous return value later </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the child after 'act_child' or NULL if no more child </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv421lv_obj_count_childrenPK8lv_obj_t">
<span id="_CPPv321lv_obj_count_childrenPK8lv_obj_t"></span><span id="_CPPv221lv_obj_count_childrenPK8lv_obj_t"></span><span id="lv_obj_count_children__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a6ce599b3f83982ae5fa192dce54cba76"></span><span class="pre">uint16_t</span> <code class="sig-name descname"><span class="pre">lv_obj_count_children</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv421lv_obj_count_childrenPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Count the children of an object (only children directly on 'obj') </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>children number of 'obj' </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv431lv_obj_count_children_recursivePK8lv_obj_t">
<span id="_CPPv331lv_obj_count_children_recursivePK8lv_obj_t"></span><span id="_CPPv231lv_obj_count_children_recursivePK8lv_obj_t"></span><span id="lv_obj_count_children_recursive__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1ab10e50bbf95f7b13a7c04ad440c6aff9"></span><span class="pre">uint16_t</span> <code class="sig-name descname"><span class="pre">lv_obj_count_children_recursive</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv431lv_obj_count_children_recursivePK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Recursively count the children of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>children number of 'obj' </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_obj_get_coordsPK8lv_obj_tP9lv_area_t">
<span id="_CPPv317lv_obj_get_coordsPK8lv_obj_tP9lv_area_t"></span><span id="_CPPv217lv_obj_get_coordsPK8lv_obj_tP9lv_area_t"></span><span id="lv_obj_get_coords__lv_obj_tCP.lv_area_tP"></span><span class="target" id="lv__obj_8h_1a05f006d361710d75650677e7c6c9cf3e"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_get_coords</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">lv_area_t</span> <span class="pre">*</span><em><span class="pre">cords_p</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_obj_get_coordsPK8lv_obj_tP9lv_area_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Copy the coordinates of an object to an area </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>cords_p</strong> -- pointer to an area to store the coordinates </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv423lv_obj_get_inner_coordsPK8lv_obj_tP9lv_area_t">
<span id="_CPPv323lv_obj_get_inner_coordsPK8lv_obj_tP9lv_area_t"></span><span id="_CPPv223lv_obj_get_inner_coordsPK8lv_obj_tP9lv_area_t"></span><span id="lv_obj_get_inner_coords__lv_obj_tCP.lv_area_tP"></span><span class="target" id="lv__obj_8h_1aaad347779991e40fd36aea89dcdf4a2b"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_get_inner_coords</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">lv_area_t</span> <span class="pre">*</span><em><span class="pre">coords_p</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv423lv_obj_get_inner_coordsPK8lv_obj_tP9lv_area_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Reduce area retried by <code class="docutils literal notranslate"><a class="reference internal" href="#lv__obj_8h_1a05f006d361710d75650677e7c6c9cf3e"><span class="std std-ref"><span class="pre">lv_obj_get_coords()</span></span></a></code> the get graphically usable area of an object. (Without the size of the border or other extra graphical elements) </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>coords_p</strong> -- store the result area here </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv412lv_obj_get_xPK8lv_obj_t">
<span id="_CPPv312lv_obj_get_xPK8lv_obj_t"></span><span id="_CPPv212lv_obj_get_xPK8lv_obj_t"></span><span id="lv_obj_get_x__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1aeefcb58f5d09e5ba9722fc680a3ad409"></span><span class="pre">lv_coord_t</span> <code class="sig-name descname"><span class="pre">lv_obj_get_x</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv412lv_obj_get_xPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the x coordinate of object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>distance of 'obj' from the left side of its parent </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv412lv_obj_get_yPK8lv_obj_t">
<span id="_CPPv312lv_obj_get_yPK8lv_obj_t"></span><span id="_CPPv212lv_obj_get_yPK8lv_obj_t"></span><span id="lv_obj_get_y__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1adb5b94d45013ad689376f1b92eaf7072"></span><span class="pre">lv_coord_t</span> <code class="sig-name descname"><span class="pre">lv_obj_get_y</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv412lv_obj_get_yPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the y coordinate of object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>distance of 'obj' from the top of its parent </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv416lv_obj_get_widthPK8lv_obj_t">
<span id="_CPPv316lv_obj_get_widthPK8lv_obj_t"></span><span id="_CPPv216lv_obj_get_widthPK8lv_obj_t"></span><span id="lv_obj_get_width__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a118b18e487255be1d8729239e9ddbee1"></span><span class="pre">lv_coord_t</span> <code class="sig-name descname"><span class="pre">lv_obj_get_width</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv416lv_obj_get_widthPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the width of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the width </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_obj_get_heightPK8lv_obj_t">
<span id="_CPPv317lv_obj_get_heightPK8lv_obj_t"></span><span id="_CPPv217lv_obj_get_heightPK8lv_obj_t"></span><span id="lv_obj_get_height__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1aada555bdfd06f2673714a7c6fd8a3b58"></span><span class="pre">lv_coord_t</span> <code class="sig-name descname"><span class="pre">lv_obj_get_height</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_obj_get_heightPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the height of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the height </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv420lv_obj_get_width_fitPK8lv_obj_t">
<span id="_CPPv320lv_obj_get_width_fitPK8lv_obj_t"></span><span id="_CPPv220lv_obj_get_width_fitPK8lv_obj_t"></span><span id="lv_obj_get_width_fit__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1ac43b44ea71e3109e39004d2f57edd5e9"></span><span class="pre">lv_coord_t</span> <code class="sig-name descname"><span class="pre">lv_obj_get_width_fit</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv420lv_obj_get_width_fitPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get that width reduced by the left and right padding. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the width which still fits into the container </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv421lv_obj_get_height_fitPK8lv_obj_t">
<span id="_CPPv321lv_obj_get_height_fitPK8lv_obj_t"></span><span id="_CPPv221lv_obj_get_height_fitPK8lv_obj_t"></span><span id="lv_obj_get_height_fit__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a3fbceaa8d7bb45a97418e62bb687b9d9"></span><span class="pre">lv_coord_t</span> <code class="sig-name descname"><span class="pre">lv_obj_get_height_fit</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv421lv_obj_get_height_fitPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get that height reduced by the top an bottom padding. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the height which still fits into the container </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv424lv_obj_get_height_marginP8lv_obj_t">
<span id="_CPPv324lv_obj_get_height_marginP8lv_obj_t"></span><span id="_CPPv224lv_obj_get_height_marginP8lv_obj_t"></span><span id="lv_obj_get_height_margin__lv_obj_tP"></span><span class="target" id="lv__obj_8h_1a334827e5f3121d9ca0a297d0c23ac530"></span><span class="pre">lv_coord_t</span> <code class="sig-name descname"><span class="pre">lv_obj_get_height_margin</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv424lv_obj_get_height_marginP8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the height of an object by taking the top and bottom margin into account. The returned height will be <code class="docutils literal notranslate"><span class="pre">obj_h</span> <span class="pre">+</span> <span class="pre">margin_top</span> <span class="pre">+</span> <span class="pre">margin_bottom</span></code> </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the height including thee margins </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv423lv_obj_get_width_marginP8lv_obj_t">
<span id="_CPPv323lv_obj_get_width_marginP8lv_obj_t"></span><span id="_CPPv223lv_obj_get_width_marginP8lv_obj_t"></span><span id="lv_obj_get_width_margin__lv_obj_tP"></span><span class="target" id="lv__obj_8h_1a1bc413fc6897c195f8a2e9529b709005"></span><span class="pre">lv_coord_t</span> <code class="sig-name descname"><span class="pre">lv_obj_get_width_margin</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv423lv_obj_get_width_marginP8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the width of an object by taking the left and right margin into account. The returned width will be <code class="docutils literal notranslate"><span class="pre">obj_w</span> <span class="pre">+</span> <span class="pre">margin_left</span> <span class="pre">+</span> <span class="pre">margin_right</span></code> </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the height including thee margins </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv421lv_obj_get_width_gridP8lv_obj_t7uint8_t7uint8_t">
<span id="_CPPv321lv_obj_get_width_gridP8lv_obj_t7uint8_t7uint8_t"></span><span id="_CPPv221lv_obj_get_width_gridP8lv_obj_t7uint8_t7uint8_t"></span><span id="lv_obj_get_width_grid__lv_obj_tP.uint8_t.uint8_t"></span><span class="target" id="lv__obj_8h_1ac67fe6e5a5cc5243995ceb8fa8c61634"></span><span class="pre">lv_coord_t</span> <code class="sig-name descname"><span class="pre">lv_obj_get_width_grid</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">div</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">span</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv421lv_obj_get_width_gridP8lv_obj_t7uint8_t7uint8_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Divide the width of the object and get the width of a given number of columns. Take paddings into account. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>div</strong> -- indicates how many columns are assumed. If 1 the width will be set the parent's width If 2 only half parent width - inner padding of the parent If 3 only third parent width - 2 * inner padding of the parent </p></li>
<li><p><strong>span</strong> -- how many columns are combined </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the width according to the given parameters </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv422lv_obj_get_height_gridP8lv_obj_t7uint8_t7uint8_t">
<span id="_CPPv322lv_obj_get_height_gridP8lv_obj_t7uint8_t7uint8_t"></span><span id="_CPPv222lv_obj_get_height_gridP8lv_obj_t7uint8_t7uint8_t"></span><span id="lv_obj_get_height_grid__lv_obj_tP.uint8_t.uint8_t"></span><span class="target" id="lv__obj_8h_1a8bbfb81ab17576d25b77391ab2a1770f"></span><span class="pre">lv_coord_t</span> <code class="sig-name descname"><span class="pre">lv_obj_get_height_grid</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">div</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">span</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv422lv_obj_get_height_gridP8lv_obj_t7uint8_t7uint8_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Divide the height of the object and get the width of a given number of columns. Take paddings into account. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>div</strong> -- indicates how many rows are assumed. If 1 the height will be set the parent's height If 2 only half parent height - inner padding of the parent If 3 only third parent height - 2 * inner padding of the parent </p></li>
<li><p><strong>span</strong> -- how many rows are combined </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the height according to the given parameters </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv423lv_obj_get_auto_realignPK8lv_obj_t">
<span id="_CPPv323lv_obj_get_auto_realignPK8lv_obj_t"></span><span id="_CPPv223lv_obj_get_auto_realignPK8lv_obj_t"></span><span id="lv_obj_get_auto_realign__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a5642c5bfafed524fd6fc20823ad6562b"></span><span class="pre">bool</span> <code class="sig-name descname"><span class="pre">lv_obj_get_auto_realign</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv423lv_obj_get_auto_realignPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the automatic realign property of the object. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>true: auto realign is enabled; false: auto realign is disabled </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv429lv_obj_get_ext_click_pad_leftPK8lv_obj_t">
<span id="_CPPv329lv_obj_get_ext_click_pad_leftPK8lv_obj_t"></span><span id="_CPPv229lv_obj_get_ext_click_pad_leftPK8lv_obj_t"></span><span id="lv_obj_get_ext_click_pad_left__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1ab9fba1d6b6f3916fdcd454c4d7fe368e"></span><span class="pre">lv_coord_t</span> <code class="sig-name descname"><span class="pre">lv_obj_get_ext_click_pad_left</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv429lv_obj_get_ext_click_pad_leftPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the left padding of extended clickable area </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the extended left padding </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv430lv_obj_get_ext_click_pad_rightPK8lv_obj_t">
<span id="_CPPv330lv_obj_get_ext_click_pad_rightPK8lv_obj_t"></span><span id="_CPPv230lv_obj_get_ext_click_pad_rightPK8lv_obj_t"></span><span id="lv_obj_get_ext_click_pad_right__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a35e95300546b05681322cd764cb8bcba"></span><span class="pre">lv_coord_t</span> <code class="sig-name descname"><span class="pre">lv_obj_get_ext_click_pad_right</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv430lv_obj_get_ext_click_pad_rightPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the right padding of extended clickable area </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the extended right padding </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv428lv_obj_get_ext_click_pad_topPK8lv_obj_t">
<span id="_CPPv328lv_obj_get_ext_click_pad_topPK8lv_obj_t"></span><span id="_CPPv228lv_obj_get_ext_click_pad_topPK8lv_obj_t"></span><span id="lv_obj_get_ext_click_pad_top__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1acbba8319492dcf57db926ce45744c2fa"></span><span class="pre">lv_coord_t</span> <code class="sig-name descname"><span class="pre">lv_obj_get_ext_click_pad_top</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv428lv_obj_get_ext_click_pad_topPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the top padding of extended clickable area </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the extended top padding </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv431lv_obj_get_ext_click_pad_bottomPK8lv_obj_t">
<span id="_CPPv331lv_obj_get_ext_click_pad_bottomPK8lv_obj_t"></span><span id="_CPPv231lv_obj_get_ext_click_pad_bottomPK8lv_obj_t"></span><span id="lv_obj_get_ext_click_pad_bottom__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a53c539540efc635c7f966ef51a2f3ed6"></span><span class="pre">lv_coord_t</span> <code class="sig-name descname"><span class="pre">lv_obj_get_ext_click_pad_bottom</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv431lv_obj_get_ext_click_pad_bottomPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the bottom padding of extended clickable area </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the extended bottom padding </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv423lv_obj_get_ext_draw_padPK8lv_obj_t">
<span id="_CPPv323lv_obj_get_ext_draw_padPK8lv_obj_t"></span><span id="_CPPv223lv_obj_get_ext_draw_padPK8lv_obj_t"></span><span id="lv_obj_get_ext_draw_pad__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a731df1c9d92621ae049541ade346c6db"></span><span class="pre">lv_coord_t</span> <code class="sig-name descname"><span class="pre">lv_obj_get_ext_draw_pad</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv423lv_obj_get_ext_draw_padPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the extended size attribute of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the extended size attribute </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv421lv_obj_get_style_listPK8lv_obj_t7uint8_t">
<span id="_CPPv321lv_obj_get_style_listPK8lv_obj_t7uint8_t"></span><span id="_CPPv221lv_obj_get_style_listPK8lv_obj_t7uint8_t"></span><span id="lv_obj_get_style_list__lv_obj_tCP.uint8_t"></span><span class="target" id="lv__obj_8h_1a98901100346cf00f1d71409703c69da5"></span><a class="reference internal" href="../overview/style.html#_CPPv415lv_style_list_t" title="lv_style_list_t"><span class="pre">lv_style_list_t</span></a> <span class="pre">*</span><code class="sig-name descname"><span class="pre">lv_obj_get_style_list</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">part</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv421lv_obj_get_style_listPK8lv_obj_t7uint8_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the style list of an object's part. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object. </p></li>
<li><p><strong>part</strong> -- part the part of the object which style list should be get. E.g. <code class="docutils literal notranslate"><span class="pre">LV_OBJ_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_BTN_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_SLIDER_PART_KNOB</span></code> </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>pointer to the style list. (Can be <code class="docutils literal notranslate"><span class="pre">NULL</span></code>) </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv421_lv_obj_get_style_intPK8lv_obj_t7uint8_t19lv_style_property_t">
<span id="_CPPv321_lv_obj_get_style_intPK8lv_obj_t7uint8_t19lv_style_property_t"></span><span id="_CPPv221_lv_obj_get_style_intPK8lv_obj_t7uint8_t19lv_style_property_t"></span><span id="_lv_obj_get_style_int__lv_obj_tCP.uint8_t.lv_style_property_t"></span><span class="target" id="lv__obj_8h_1a9b085852ad4ade4a4e14c788ae660de3"></span><a class="reference internal" href="../overview/style.html#_CPPv414lv_style_int_t" title="lv_style_int_t"><span class="pre">lv_style_int_t</span></a> <code class="sig-name descname"><span class="pre">_lv_obj_get_style_int</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">part</span></em>, <a class="reference internal" href="../overview/style.html#_CPPv419lv_style_property_t" title="lv_style_property_t"><span class="pre">lv_style_property_t</span></a> <em><span class="pre">prop</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv421_lv_obj_get_style_intPK8lv_obj_t7uint8_t19lv_style_property_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get a style property of a part of an object in the object's current state. If there is a running transitions it is taken into account </p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>shouldn't be used directly. Use the specific property get functions instead. For example: <code class="docutils literal notranslate"><span class="pre">lv_obj_style_get_border_width()</span></code> </p>
</div>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>for performance reasons it's not checked if the property really has integer type </p>
</div>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>part</strong> -- the part of the object which style property should be get. E.g. <code class="docutils literal notranslate"><span class="pre">LV_OBJ_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_BTN_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_SLIDER_PART_KNOB</span></code> </p></li>
<li><p><strong>prop</strong> -- the property to get. E.g. <code class="docutils literal notranslate"><span class="pre">LV_STYLE_BORDER_WIDTH</span></code>. The state of the object will be added internally </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the value of the property of the given part in the current state. If the property is not found a default value will be returned. </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv423_lv_obj_get_style_colorPK8lv_obj_t7uint8_t19lv_style_property_t">
<span id="_CPPv323_lv_obj_get_style_colorPK8lv_obj_t7uint8_t19lv_style_property_t"></span><span id="_CPPv223_lv_obj_get_style_colorPK8lv_obj_t7uint8_t19lv_style_property_t"></span><span id="_lv_obj_get_style_color__lv_obj_tCP.uint8_t.lv_style_property_t"></span><span class="target" id="lv__obj_8h_1a6d690bceb66ef8a571f6c429419b9c25"></span><span class="pre">lv_color_t</span> <code class="sig-name descname"><span class="pre">_lv_obj_get_style_color</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">part</span></em>, <a class="reference internal" href="../overview/style.html#_CPPv419lv_style_property_t" title="lv_style_property_t"><span class="pre">lv_style_property_t</span></a> <em><span class="pre">prop</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv423_lv_obj_get_style_colorPK8lv_obj_t7uint8_t19lv_style_property_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get a style property of a part of an object in the object's current state. If there is a running transitions it is taken into account </p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>shouldn't be used directly. Use the specific property get functions instead. For example: <code class="docutils literal notranslate"><span class="pre">lv_obj_style_get_border_color()</span></code> </p>
</div>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>for performance reasons it's not checked if the property really has color type </p>
</div>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>part</strong> -- the part of the object which style property should be get. E.g. <code class="docutils literal notranslate"><span class="pre">LV_OBJ_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_BTN_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_SLIDER_PART_KNOB</span></code> </p></li>
<li><p><strong>prop</strong> -- the property to get. E.g. <code class="docutils literal notranslate"><span class="pre">LV_STYLE_BORDER_COLOR</span></code>. The state of the object will be added internally </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the value of the property of the given part in the current state. If the property is not found a default value will be returned. </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv421_lv_obj_get_style_opaPK8lv_obj_t7uint8_t19lv_style_property_t">
<span id="_CPPv321_lv_obj_get_style_opaPK8lv_obj_t7uint8_t19lv_style_property_t"></span><span id="_CPPv221_lv_obj_get_style_opaPK8lv_obj_t7uint8_t19lv_style_property_t"></span><span id="_lv_obj_get_style_opa__lv_obj_tCP.uint8_t.lv_style_property_t"></span><span class="target" id="lv__obj_8h_1afb599f7dfef5ad7be5ae2ac12886c69a"></span><span class="pre">lv_opa_t</span> <code class="sig-name descname"><span class="pre">_lv_obj_get_style_opa</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">part</span></em>, <a class="reference internal" href="../overview/style.html#_CPPv419lv_style_property_t" title="lv_style_property_t"><span class="pre">lv_style_property_t</span></a> <em><span class="pre">prop</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv421_lv_obj_get_style_opaPK8lv_obj_t7uint8_t19lv_style_property_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get a style property of a part of an object in the object's current state. If there is a running transitions it is taken into account </p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>shouldn't be used directly. Use the specific property get functions instead. For example: <code class="docutils literal notranslate"><span class="pre">lv_obj_style_get_border_opa()</span></code> </p>
</div>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>for performance reasons it's not checked if the property really has opacity type </p>
</div>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>part</strong> -- the part of the object which style property should be get. E.g. <code class="docutils literal notranslate"><span class="pre">LV_OBJ_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_BTN_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_SLIDER_PART_KNOB</span></code> </p></li>
<li><p><strong>prop</strong> -- the property to get. E.g. <code class="docutils literal notranslate"><span class="pre">LV_STYLE_BORDER_OPA</span></code>. The state of the object will be added internally </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the value of the property of the given part in the current state. If the property is not found a default value will be returned. </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv421_lv_obj_get_style_ptrPK8lv_obj_t7uint8_t19lv_style_property_t">
<span id="_CPPv321_lv_obj_get_style_ptrPK8lv_obj_t7uint8_t19lv_style_property_t"></span><span id="_CPPv221_lv_obj_get_style_ptrPK8lv_obj_t7uint8_t19lv_style_property_t"></span><span id="_lv_obj_get_style_ptr__lv_obj_tCP.uint8_t.lv_style_property_t"></span><span class="target" id="lv__obj_8h_1a354e8d5dbd358f7e7f693241e891dc5b"></span><em class="property"><span class="pre">const</span></em> <span class="pre">void</span> <span class="pre">*</span><code class="sig-name descname"><span class="pre">_lv_obj_get_style_ptr</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">part</span></em>, <a class="reference internal" href="../overview/style.html#_CPPv419lv_style_property_t" title="lv_style_property_t"><span class="pre">lv_style_property_t</span></a> <em><span class="pre">prop</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv421_lv_obj_get_style_ptrPK8lv_obj_t7uint8_t19lv_style_property_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get a style property of a part of an object in the object's current state. If there is a running transitions it is taken into account </p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>shouldn't be used directly. Use the specific property get functions instead. For example: <code class="docutils literal notranslate"><span class="pre">lv_obj_style_get_border_opa()</span></code> </p>
</div>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>for performance reasons it's not checked if the property really has pointer type </p>
</div>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>part</strong> -- the part of the object which style property should be get. E.g. <code class="docutils literal notranslate"><span class="pre">LV_OBJ_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_BTN_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_SLIDER_PART_KNOB</span></code> </p></li>
<li><p><strong>prop</strong> -- the property to get. E.g. <code class="docutils literal notranslate"><span class="pre">LV_STYLE_TEXT_FONT</span></code>. The state of the object will be added internally </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the value of the property of the given part in the current state. If the property is not found a default value will be returned. </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv422lv_obj_get_local_styleP8lv_obj_t7uint8_t">
<span id="_CPPv322lv_obj_get_local_styleP8lv_obj_t7uint8_t"></span><span id="_CPPv222lv_obj_get_local_styleP8lv_obj_t7uint8_t"></span><span id="lv_obj_get_local_style__lv_obj_tP.uint8_t"></span><span class="target" id="lv__obj_8h_1acc92163fa8b9e786795bcdc39e6cb4e1"></span><a class="reference internal" href="../overview/style.html#_CPPv410lv_style_t" title="lv_style_t"><span class="pre">lv_style_t</span></a> <span class="pre">*</span><code class="sig-name descname"><span class="pre">lv_obj_get_local_style</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">part</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv422lv_obj_get_local_styleP8lv_obj_t7uint8_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the local style of a part of an object. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>part</strong> -- the part of the object which style property should be set. E.g. <code class="docutils literal notranslate"><span class="pre">LV_OBJ_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_BTN_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_SLIDER_PART_KNOB</span></code> </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>pointer to the local style if exists else <code class="docutils literal notranslate"><span class="pre">NULL</span></code>. </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_obj_get_hiddenPK8lv_obj_t">
<span id="_CPPv317lv_obj_get_hiddenPK8lv_obj_t"></span><span id="_CPPv217lv_obj_get_hiddenPK8lv_obj_t"></span><span id="lv_obj_get_hidden__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a818a3767b76e5edaf2a97beafdf53f61"></span><span class="pre">bool</span> <code class="sig-name descname"><span class="pre">lv_obj_get_hidden</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_obj_get_hiddenPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the hidden attribute of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>true: the object is hidden </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv422lv_obj_get_adv_hittestPK8lv_obj_t">
<span id="_CPPv322lv_obj_get_adv_hittestPK8lv_obj_t"></span><span id="_CPPv222lv_obj_get_adv_hittestPK8lv_obj_t"></span><span id="lv_obj_get_adv_hittest__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a339525f348b62b5b3274d8c3c713536f"></span><span class="pre">bool</span> <code class="sig-name descname"><span class="pre">lv_obj_get_adv_hittest</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv422lv_obj_get_adv_hittestPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get whether advanced hit-testing is enabled on an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>true: advanced hit-testing is enabled </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv416lv_obj_get_clickPK8lv_obj_t">
<span id="_CPPv316lv_obj_get_clickPK8lv_obj_t"></span><span id="_CPPv216lv_obj_get_clickPK8lv_obj_t"></span><span id="lv_obj_get_click__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a0faee4743a74deb1bc48dbd3f10d7943"></span><span class="pre">bool</span> <code class="sig-name descname"><span class="pre">lv_obj_get_click</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv416lv_obj_get_clickPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the click enable attribute of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>true: the object is clickable </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv414lv_obj_get_topPK8lv_obj_t">
<span id="_CPPv314lv_obj_get_topPK8lv_obj_t"></span><span id="_CPPv214lv_obj_get_topPK8lv_obj_t"></span><span id="lv_obj_get_top__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a54ef4ef13845592fb69222f56e8858d2"></span><span class="pre">bool</span> <code class="sig-name descname"><span class="pre">lv_obj_get_top</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv414lv_obj_get_topPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the top enable attribute of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>true: the auto top feature is enabled </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv415lv_obj_get_dragPK8lv_obj_t">
<span id="_CPPv315lv_obj_get_dragPK8lv_obj_t"></span><span id="_CPPv215lv_obj_get_dragPK8lv_obj_t"></span><span id="lv_obj_get_drag__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a1d3e216562fa5dc093cf1f368566470b"></span><span class="pre">bool</span> <code class="sig-name descname"><span class="pre">lv_obj_get_drag</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv415lv_obj_get_dragPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the drag enable attribute of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>true: the object is draggable </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv419lv_obj_get_drag_dirPK8lv_obj_t">
<span id="_CPPv319lv_obj_get_drag_dirPK8lv_obj_t"></span><span id="_CPPv219lv_obj_get_drag_dirPK8lv_obj_t"></span><span id="lv_obj_get_drag_dir__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1ad507f3af94d2c37f106771e4fefaaec9"></span><a class="reference internal" href="../porting/indev.html#_CPPv413lv_drag_dir_t" title="lv_drag_dir_t"><span class="pre">lv_drag_dir_t</span></a> <code class="sig-name descname"><span class="pre">lv_obj_get_drag_dir</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419lv_obj_get_drag_dirPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the directions an object can be dragged </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>bitwise OR of allowed directions an object can be dragged in </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv421lv_obj_get_drag_throwPK8lv_obj_t">
<span id="_CPPv321lv_obj_get_drag_throwPK8lv_obj_t"></span><span id="_CPPv221lv_obj_get_drag_throwPK8lv_obj_t"></span><span id="lv_obj_get_drag_throw__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a4de8f7bdc9e2333299a04eba46f979c2"></span><span class="pre">bool</span> <code class="sig-name descname"><span class="pre">lv_obj_get_drag_throw</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv421lv_obj_get_drag_throwPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the drag throw enable attribute of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>true: drag throw is enabled </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv422lv_obj_get_drag_parentPK8lv_obj_t">
<span id="_CPPv322lv_obj_get_drag_parentPK8lv_obj_t"></span><span id="_CPPv222lv_obj_get_drag_parentPK8lv_obj_t"></span><span id="lv_obj_get_drag_parent__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1adc034fe8bd3e032c3eb2b656d62e7474"></span><span class="pre">bool</span> <code class="sig-name descname"><span class="pre">lv_obj_get_drag_parent</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv422lv_obj_get_drag_parentPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the drag parent attribute of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>true: drag parent is enabled </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv423lv_obj_get_focus_parentPK8lv_obj_t">
<span id="_CPPv323lv_obj_get_focus_parentPK8lv_obj_t"></span><span id="_CPPv223lv_obj_get_focus_parentPK8lv_obj_t"></span><span id="lv_obj_get_focus_parent__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a5200f252fc84f56bd76bdd86a10e344c"></span><span class="pre">bool</span> <code class="sig-name descname"><span class="pre">lv_obj_get_focus_parent</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv423lv_obj_get_focus_parentPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the focus parent attribute of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>true: focus parent is enabled </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv423lv_obj_get_parent_eventPK8lv_obj_t">
<span id="_CPPv323lv_obj_get_parent_eventPK8lv_obj_t"></span><span id="_CPPv223lv_obj_get_parent_eventPK8lv_obj_t"></span><span id="lv_obj_get_parent_event__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a49fd592a6955f91dffeb416b13d6bc67"></span><span class="pre">bool</span> <code class="sig-name descname"><span class="pre">lv_obj_get_parent_event</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv423lv_obj_get_parent_eventPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the drag parent attribute of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>true: drag parent is enabled </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv425lv_obj_get_gesture_parentPK8lv_obj_t">
<span id="_CPPv325lv_obj_get_gesture_parentPK8lv_obj_t"></span><span id="_CPPv225lv_obj_get_gesture_parentPK8lv_obj_t"></span><span id="lv_obj_get_gesture_parent__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a8b1e2a33eb01a4fc39935f2399221cc0"></span><span class="pre">bool</span> <code class="sig-name descname"><span class="pre">lv_obj_get_gesture_parent</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv425lv_obj_get_gesture_parentPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the gesture parent attribute of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>true: gesture parent is enabled </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv419lv_obj_get_base_dirPK8lv_obj_t">
<span id="_CPPv319lv_obj_get_base_dirPK8lv_obj_t"></span><span id="_CPPv219lv_obj_get_base_dirPK8lv_obj_t"></span><span id="lv_obj_get_base_dir__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a3eaa434ba7a1d50bac6685a3ebac0558"></span><span class="pre">lv_bidi_dir_t</span> <code class="sig-name descname"><span class="pre">lv_obj_get_base_dir</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419lv_obj_get_base_dirPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp function">
<dt id="_CPPv418lv_obj_get_protectPK8lv_obj_t">
<span id="_CPPv318lv_obj_get_protectPK8lv_obj_t"></span><span id="_CPPv218lv_obj_get_protectPK8lv_obj_t"></span><span id="lv_obj_get_protect__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1abca39a2aa901c928a3086778dc40ba31"></span><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">lv_obj_get_protect</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv418lv_obj_get_protectPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the protect field of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>protect field ('OR'ed values of <code class="docutils literal notranslate"><span class="pre">lv_protect_t</span></code>) </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv419lv_obj_is_protectedPK8lv_obj_t7uint8_t">
<span id="_CPPv319lv_obj_is_protectedPK8lv_obj_t7uint8_t"></span><span id="_CPPv219lv_obj_is_protectedPK8lv_obj_t7uint8_t"></span><span id="lv_obj_is_protected__lv_obj_tCP.uint8_t"></span><span class="target" id="lv__obj_8h_1a80d6394bba9e1a414e797efd261ed02f"></span><span class="pre">bool</span> <code class="sig-name descname"><span class="pre">lv_obj_is_protected</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">prot</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419lv_obj_is_protectedPK8lv_obj_t7uint8_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Check at least one bit of a given protect bitfield is set </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>prot</strong> -- protect bits to test ('OR'ed values of <code class="docutils literal notranslate"><span class="pre">lv_protect_t</span></code>) </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>false: none of the given bits are set, true: at least one bit is set </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv416lv_obj_get_statePK8lv_obj_t7uint8_t">
<span id="_CPPv316lv_obj_get_statePK8lv_obj_t7uint8_t"></span><span id="_CPPv216lv_obj_get_statePK8lv_obj_t7uint8_t"></span><span id="lv_obj_get_state__lv_obj_tCP.uint8_t"></span><span class="target" id="lv__obj_8h_1a54e85af02f7bbbcd3bdd4186591ac7e4"></span><a class="reference internal" href="#_CPPv410lv_state_t" title="lv_state_t"><span class="pre">lv_state_t</span></a> <code class="sig-name descname"><span class="pre">lv_obj_get_state</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">part</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv416lv_obj_get_statePK8lv_obj_t7uint8_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp function">
<dt id="_CPPv420lv_obj_get_signal_cbPK8lv_obj_t">
<span id="_CPPv320lv_obj_get_signal_cbPK8lv_obj_t"></span><span id="_CPPv220lv_obj_get_signal_cbPK8lv_obj_t"></span><span id="lv_obj_get_signal_cb__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1ad1b1dc4d61fd765cfd8958254af36b29"></span><a class="reference internal" href="#_CPPv414lv_signal_cb_t" title="lv_signal_cb_t"><span class="pre">lv_signal_cb_t</span></a> <code class="sig-name descname"><span class="pre">lv_obj_get_signal_cb</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv420lv_obj_get_signal_cbPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the signal function of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the signal function </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv420lv_obj_get_design_cbPK8lv_obj_t">
<span id="_CPPv320lv_obj_get_design_cbPK8lv_obj_t"></span><span id="_CPPv220lv_obj_get_design_cbPK8lv_obj_t"></span><span id="lv_obj_get_design_cb__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a5bafa0af4ab8c37e722cb8c65da04131"></span><a class="reference internal" href="#_CPPv414lv_design_cb_t" title="lv_design_cb_t"><span class="pre">lv_design_cb_t</span></a> <code class="sig-name descname"><span class="pre">lv_obj_get_design_cb</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv420lv_obj_get_design_cbPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the design function of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the design function </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv419lv_obj_get_event_cbPK8lv_obj_t">
<span id="_CPPv319lv_obj_get_event_cbPK8lv_obj_t"></span><span id="_CPPv219lv_obj_get_event_cbPK8lv_obj_t"></span><span id="lv_obj_get_event_cb__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1ae9f75ecad464d80305bf6b4064ba23f7"></span><a class="reference internal" href="#_CPPv413lv_event_cb_t" title="lv_event_cb_t"><span class="pre">lv_event_cb_t</span></a> <code class="sig-name descname"><span class="pre">lv_obj_get_event_cb</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419lv_obj_get_event_cbPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the event function of an object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the event function </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv425lv_obj_is_point_on_coordsP8lv_obj_tPK10lv_point_t">
<span id="_CPPv325lv_obj_is_point_on_coordsP8lv_obj_tPK10lv_point_t"></span><span id="_CPPv225lv_obj_is_point_on_coordsP8lv_obj_tPK10lv_point_t"></span><span id="lv_obj_is_point_on_coords__lv_obj_tP.lv_point_tCP"></span><span class="target" id="lv__obj_8h_1a8396c9b1fd06d3358cccdaa18dc55712"></span><span class="pre">bool</span> <code class="sig-name descname"><span class="pre">lv_obj_is_point_on_coords</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <em class="property"><span class="pre">const</span></em> <span class="pre">lv_point_t</span> <span class="pre">*</span><em><span class="pre">point</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv425lv_obj_is_point_on_coordsP8lv_obj_tPK10lv_point_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Check if a given screen-space point is on an object's coordinates.</p>
<p>This method is intended to be used mainly by advanced hit testing algorithms to check whether the point is even within the object (as an optimization). </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- object to check </p></li>
<li><p><strong>point</strong> -- screen-space point </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv414lv_obj_hittestP8lv_obj_tP10lv_point_t">
<span id="_CPPv314lv_obj_hittestP8lv_obj_tP10lv_point_t"></span><span id="_CPPv214lv_obj_hittestP8lv_obj_tP10lv_point_t"></span><span id="lv_obj_hittest__lv_obj_tP.lv_point_tP"></span><span class="target" id="lv__obj_8h_1ad098c46b922e6debfaa7e6a130b63c08"></span><span class="pre">bool</span> <code class="sig-name descname"><span class="pre">lv_obj_hittest</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">lv_point_t</span> <span class="pre">*</span><em><span class="pre">point</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv414lv_obj_hittestP8lv_obj_tP10lv_point_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Hit-test an object given a particular point in screen space. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- object to hit-test </p></li>
<li><p><strong>point</strong> -- screen-space point </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>true if the object is considered under the point </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv419lv_obj_get_ext_attrPK8lv_obj_t">
<span id="_CPPv319lv_obj_get_ext_attrPK8lv_obj_t"></span><span id="_CPPv219lv_obj_get_ext_attrPK8lv_obj_t"></span><span id="lv_obj_get_ext_attr__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a0c06278b59453b3bfa04bd63981bca3b"></span><span class="pre">void</span> <span class="pre">*</span><code class="sig-name descname"><span class="pre">lv_obj_get_ext_attr</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419lv_obj_get_ext_attrPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the ext pointer </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the ext pointer but not the dynamic version Use it as ext-&gt;data1, and NOT da(ext)-&gt;data1 </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv415lv_obj_get_typePK8lv_obj_tP13lv_obj_type_t">
<span id="_CPPv315lv_obj_get_typePK8lv_obj_tP13lv_obj_type_t"></span><span id="_CPPv215lv_obj_get_typePK8lv_obj_tP13lv_obj_type_t"></span><span id="lv_obj_get_type__lv_obj_tCP.lv_obj_type_tP"></span><span class="target" id="lv__obj_8h_1af939d1c447779b6f93bbdcf5a673ec69"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_get_type</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <a class="reference internal" href="#_CPPv413lv_obj_type_t" title="lv_obj_type_t"><span class="pre">lv_obj_type_t</span></a> <span class="pre">*</span><em><span class="pre">buf</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv415lv_obj_get_typePK8lv_obj_tP13lv_obj_type_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get object's and its ancestors type. Put their name in <code class="docutils literal notranslate"><span class="pre">type_buf</span></code> starting with the current type. E.g. buf.type[0]=&quot;lv_btn&quot;, buf.type[1]=&quot;lv_cont&quot;, buf.type[2]=&quot;lv_obj&quot; </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object which type should be get </p></li>
<li><p><strong>buf</strong> -- pointer to an <code class="docutils literal notranslate"><a class="reference internal" href="#structlv__obj__type__t"><span class="std std-ref"><span class="pre">lv_obj_type_t</span></span></a></code> buffer to store the types </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv420lv_obj_get_user_dataPK8lv_obj_t">
<span id="_CPPv320lv_obj_get_user_dataPK8lv_obj_t"></span><span id="_CPPv220lv_obj_get_user_dataPK8lv_obj_t"></span><span id="lv_obj_get_user_data__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a0861c9a603fa9208934ed98314f793f4"></span><span class="pre">lv_obj_user_data_t</span> <code class="sig-name descname"><span class="pre">lv_obj_get_user_data</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv420lv_obj_get_user_dataPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the object's user data </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>user data </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv424lv_obj_get_user_data_ptrPK8lv_obj_t">
<span id="_CPPv324lv_obj_get_user_data_ptrPK8lv_obj_t"></span><span id="_CPPv224lv_obj_get_user_data_ptrPK8lv_obj_t"></span><span id="lv_obj_get_user_data_ptr__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a21984ea47aedf381a471e02251870cd3"></span><span class="pre">lv_obj_user_data_t</span> <span class="pre">*</span><code class="sig-name descname"><span class="pre">lv_obj_get_user_data_ptr</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv424lv_obj_get_user_data_ptrPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get a pointer to the object's user data </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>pointer to the user data </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv420lv_obj_set_user_dataP8lv_obj_t18lv_obj_user_data_t">
<span id="_CPPv320lv_obj_set_user_dataP8lv_obj_t18lv_obj_user_data_t"></span><span id="_CPPv220lv_obj_set_user_dataP8lv_obj_t18lv_obj_user_data_t"></span><span id="lv_obj_set_user_data__lv_obj_tP.lv_obj_user_data_t"></span><span class="target" id="lv__obj_8h_1a36065b16e9a7fa27ba0b7c08b9f4229f"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_set_user_data</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">lv_obj_user_data_t</span> <em><span class="pre">data</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv420lv_obj_set_user_dataP8lv_obj_t18lv_obj_user_data_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the object's user data. The data will be copied. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>data</strong> -- user data </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv416lv_obj_get_groupPK8lv_obj_t">
<span id="_CPPv316lv_obj_get_groupPK8lv_obj_t"></span><span id="_CPPv216lv_obj_get_groupPK8lv_obj_t"></span><span id="lv_obj_get_group__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a4096ec8a90cb787d671867b9bd43dc73"></span><span class="pre">void</span> <span class="pre">*</span><code class="sig-name descname"><span class="pre">lv_obj_get_group</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv416lv_obj_get_groupPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the group of the object </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the pointer to group of the object </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_obj_is_focusedPK8lv_obj_t">
<span id="_CPPv317lv_obj_is_focusedPK8lv_obj_t"></span><span id="_CPPv217lv_obj_is_focusedPK8lv_obj_t"></span><span id="lv_obj_is_focused__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1ae407987ad633021bd9119141b6506e1e"></span><span class="pre">bool</span> <code class="sig-name descname"><span class="pre">lv_obj_is_focused</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_obj_is_focusedPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Tell whether the object is the focused object of a group or not. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- pointer to an object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>true: the object is focused, false: the object is not focused or not in a group </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv422lv_obj_get_focused_objPK8lv_obj_t">
<span id="_CPPv322lv_obj_get_focused_objPK8lv_obj_t"></span><span id="_CPPv222lv_obj_get_focused_objPK8lv_obj_t"></span><span id="lv_obj_get_focused_obj__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1ad8ae791baac274899ef80f67e7129a0b"></span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><code class="sig-name descname"><span class="pre">lv_obj_get_focused_obj</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv422lv_obj_get_focused_objPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the really focused object by taking <code class="docutils literal notranslate"><span class="pre">focus_parent</span></code> into account. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>obj</strong> -- the start object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the object to really focus </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv429lv_obj_handle_get_type_signalP13lv_obj_type_tPKc">
<span id="_CPPv329lv_obj_handle_get_type_signalP13lv_obj_type_tPKc"></span><span id="_CPPv229lv_obj_handle_get_type_signalP13lv_obj_type_tPKc"></span><span id="lv_obj_handle_get_type_signal__lv_obj_type_tP.cCP"></span><span class="target" id="lv__obj_8h_1a9ca5805e173f2d33bc0fecc6f9920efa"></span><span class="pre">lv_res_t</span> <code class="sig-name descname"><span class="pre">lv_obj_handle_get_type_signal</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv413lv_obj_type_t" title="lv_obj_type_t"><span class="pre">lv_obj_type_t</span></a> <span class="pre">*</span><em><span class="pre">buf</span></em>, <em class="property"><span class="pre">const</span></em> <span class="pre">char</span> <span class="pre">*</span><em><span class="pre">name</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv429lv_obj_handle_get_type_signalP13lv_obj_type_tPKc" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Used in the signal callback to handle <code class="docutils literal notranslate"><span class="pre">LV_SIGNAL_GET_TYPE</span></code> signal </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>buf</strong> -- pointer to <code class="docutils literal notranslate"><a class="reference internal" href="#structlv__obj__type__t"><span class="std std-ref"><span class="pre">lv_obj_type_t</span></span></a></code>. (<code class="docutils literal notranslate"><span class="pre">param</span></code> in the signal callback) </p></li>
<li><p><strong>name</strong> -- name of the object. E.g. &quot;lv_btn&quot;. (Only the pointer is saved) </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>LV_RES_OK </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv425lv_obj_init_draw_rect_dscP8lv_obj_t7uint8_tP18lv_draw_rect_dsc_t">
<span id="_CPPv325lv_obj_init_draw_rect_dscP8lv_obj_t7uint8_tP18lv_draw_rect_dsc_t"></span><span id="_CPPv225lv_obj_init_draw_rect_dscP8lv_obj_t7uint8_tP18lv_draw_rect_dsc_t"></span><span id="lv_obj_init_draw_rect_dsc__lv_obj_tP.uint8_t.lv_draw_rect_dsc_tP"></span><span class="target" id="lv__obj_8h_1aabe77cc0865ce04cb1d881021330b760"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_init_draw_rect_dsc</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">type</span></em>, <span class="pre">lv_draw_rect_dsc_t</span> <span class="pre">*</span><em><span class="pre">draw_dsc</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv425lv_obj_init_draw_rect_dscP8lv_obj_t7uint8_tP18lv_draw_rect_dsc_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Initialize a rectangle descriptor from an object's styles </p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>Only the relevant fields will be set. E.g. if <code class="docutils literal notranslate"><span class="pre">border</span> <span class="pre">width</span> <span class="pre">==</span> <span class="pre">0</span></code> the other border properties won't be evaluated. </p>
</div>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>type</strong> -- type of style. E.g. <code class="docutils literal notranslate"><span class="pre">LV_OBJ_PART_MAIN</span></code>, <code class="docutils literal notranslate"><span class="pre">LV_BTN_SLIDER_KOB</span></code> </p></li>
<li><p><strong>draw_dsc</strong> -- the descriptor the initialize </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv426lv_obj_init_draw_label_dscP8lv_obj_t7uint8_tP19lv_draw_label_dsc_t">
<span id="_CPPv326lv_obj_init_draw_label_dscP8lv_obj_t7uint8_tP19lv_draw_label_dsc_t"></span><span id="_CPPv226lv_obj_init_draw_label_dscP8lv_obj_t7uint8_tP19lv_draw_label_dsc_t"></span><span id="lv_obj_init_draw_label_dsc__lv_obj_tP.uint8_t.lv_draw_label_dsc_tP"></span><span class="target" id="lv__obj_8h_1a959db09d2b9ecfb59b5e160ad0e230fd"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_init_draw_label_dsc</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">type</span></em>, <span class="pre">lv_draw_label_dsc_t</span> <span class="pre">*</span><em><span class="pre">draw_dsc</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv426lv_obj_init_draw_label_dscP8lv_obj_t7uint8_tP19lv_draw_label_dsc_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp function">
<dt id="_CPPv424lv_obj_init_draw_img_dscP8lv_obj_t7uint8_tP17lv_draw_img_dsc_t">
<span id="_CPPv324lv_obj_init_draw_img_dscP8lv_obj_t7uint8_tP17lv_draw_img_dsc_t"></span><span id="_CPPv224lv_obj_init_draw_img_dscP8lv_obj_t7uint8_tP17lv_draw_img_dsc_t"></span><span id="lv_obj_init_draw_img_dsc__lv_obj_tP.uint8_t.lv_draw_img_dsc_tP"></span><span class="target" id="lv__obj_8h_1a3904947d8c5aeacf257b046f77b76635"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_init_draw_img_dsc</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">part</span></em>, <a class="reference internal" href="../overview/image.html#_CPPv417lv_draw_img_dsc_t" title="lv_draw_img_dsc_t"><span class="pre">lv_draw_img_dsc_t</span></a> <span class="pre">*</span><em><span class="pre">draw_dsc</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv424lv_obj_init_draw_img_dscP8lv_obj_t7uint8_tP17lv_draw_img_dsc_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp function">
<dt id="_CPPv425lv_obj_init_draw_line_dscP8lv_obj_t7uint8_tP18lv_draw_line_dsc_t">
<span id="_CPPv325lv_obj_init_draw_line_dscP8lv_obj_t7uint8_tP18lv_draw_line_dsc_t"></span><span id="_CPPv225lv_obj_init_draw_line_dscP8lv_obj_t7uint8_tP18lv_draw_line_dsc_t"></span><span id="lv_obj_init_draw_line_dsc__lv_obj_tP.uint8_t.lv_draw_line_dsc_tP"></span><span class="target" id="lv__obj_8h_1a47ea3a64ffe3ac90764a7ee43054805f"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_init_draw_line_dsc</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">part</span></em>, <span class="pre">lv_draw_line_dsc_t</span> <span class="pre">*</span><em><span class="pre">draw_dsc</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv425lv_obj_init_draw_line_dscP8lv_obj_t7uint8_tP18lv_draw_line_dsc_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp function">
<dt id="_CPPv433lv_obj_get_draw_rect_ext_pad_sizeP8lv_obj_t7uint8_t">
<span id="_CPPv333lv_obj_get_draw_rect_ext_pad_sizeP8lv_obj_t7uint8_t"></span><span id="_CPPv233lv_obj_get_draw_rect_ext_pad_sizeP8lv_obj_t7uint8_t"></span><span id="lv_obj_get_draw_rect_ext_pad_size__lv_obj_tP.uint8_t"></span><span class="target" id="lv__obj_8h_1a7f2ed5d3200888653838126ba72d59ab"></span><span class="pre">lv_coord_t</span> <code class="sig-name descname"><span class="pre">lv_obj_get_draw_rect_ext_pad_size</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">part</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv433lv_obj_get_draw_rect_ext_pad_sizeP8lv_obj_t7uint8_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the required extra size (around the object's part) to draw shadow, outline, value etc. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>part</strong> -- part of the object </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv414lv_obj_fade_inP8lv_obj_t8uint32_t8uint32_t">
<span id="_CPPv314lv_obj_fade_inP8lv_obj_t8uint32_t8uint32_t"></span><span id="_CPPv214lv_obj_fade_inP8lv_obj_t8uint32_t8uint32_t"></span><span id="lv_obj_fade_in__lv_obj_tP.uint32_t.uint32_t"></span><span class="target" id="lv__obj_8h_1a9bb76c83de5e1992f1c302bbd178f693"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_fade_in</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint32_t</span> <em><span class="pre">time</span></em>, <span class="pre">uint32_t</span> <em><span class="pre">delay</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv414lv_obj_fade_inP8lv_obj_t8uint32_t8uint32_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Fade in (from transparent to fully cover) an object and all its children using an <code class="docutils literal notranslate"><span class="pre">opa_scale</span></code> animation. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- the object to fade in </p></li>
<li><p><strong>time</strong> -- duration of the animation [ms] </p></li>
<li><p><strong>delay</strong> -- wait before the animation starts [ms] </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv415lv_obj_fade_outP8lv_obj_t8uint32_t8uint32_t">
<span id="_CPPv315lv_obj_fade_outP8lv_obj_t8uint32_t8uint32_t"></span><span id="_CPPv215lv_obj_fade_outP8lv_obj_t8uint32_t8uint32_t"></span><span id="lv_obj_fade_out__lv_obj_tP.uint32_t.uint32_t"></span><span class="target" id="lv__obj_8h_1a4140039b26c41b651bc8909b388f9042"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_obj_fade_out</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <span class="pre">uint32_t</span> <em><span class="pre">time</span></em>, <span class="pre">uint32_t</span> <em><span class="pre">delay</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv415lv_obj_fade_outP8lv_obj_t8uint32_t8uint32_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Fade out (from fully cover to transparent) an object and all its children using an <code class="docutils literal notranslate"><span class="pre">opa_scale</span></code> animation. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- the object to fade in </p></li>
<li><p><strong>time</strong> -- duration of the animation [ms] </p></li>
<li><p><strong>delay</strong> -- wait before the animation starts [ms] </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv423lv_debug_check_obj_typePK8lv_obj_tPKc">
<span id="_CPPv323lv_debug_check_obj_typePK8lv_obj_tPKc"></span><span id="_CPPv223lv_debug_check_obj_typePK8lv_obj_tPKc"></span><span id="lv_debug_check_obj_type__lv_obj_tCP.cCP"></span><span class="target" id="lv__obj_8h_1ac689a68d524d31df5a7444c179a5ee67"></span><span class="pre">bool</span> <code class="sig-name descname"><span class="pre">lv_debug_check_obj_type</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em>, <em class="property"><span class="pre">const</span></em> <span class="pre">char</span> <span class="pre">*</span><em><span class="pre">obj_type</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv423lv_debug_check_obj_typePK8lv_obj_tPKc" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Check if any object has a given type </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>obj_type</strong> -- type of the object. (e.g. &quot;lv_btn&quot;) </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>true: valid </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv424lv_debug_check_obj_validPK8lv_obj_t">
<span id="_CPPv324lv_debug_check_obj_validPK8lv_obj_t"></span><span id="_CPPv224lv_debug_check_obj_validPK8lv_obj_t"></span><span id="lv_debug_check_obj_valid__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1ac0a7ddbd150752e76ac6c97f004774ee"></span><span class="pre">bool</span> <code class="sig-name descname"><span class="pre">lv_debug_check_obj_valid</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv424lv_debug_check_obj_validPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Check if any object is still &quot;alive&quot;, and part of the hierarchy </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> -- pointer to an object </p></li>
<li><p><strong>obj_type</strong> -- type of the object. (e.g. &quot;lv_btn&quot;) </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>true: valid </p>
</dd>
</dl>
</dd></dl>

</div>
<dl class="cpp struct">
<dt id="_CPPv412lv_realign_t">
<span id="_CPPv312lv_realign_t"></span><span id="_CPPv212lv_realign_t"></span><span id="lv_realign_t"></span><span class="target" id="structlv__realign__t"></span><em class="property"><span class="pre">struct</span> </em><code class="sig-name descname"><span class="pre">lv_realign_t</span></code><a class="headerlink" href="#_CPPv412lv_realign_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-public-members">Public Members</p>
<dl class="cpp var">
<dt id="_CPPv4N12lv_realign_t4baseE">
<span id="_CPPv3N12lv_realign_t4baseE"></span><span id="_CPPv2N12lv_realign_t4baseE"></span><span id="lv_realign_t::base___lv_obj_tCP"></span><span class="target" id="structlv__realign__t_1a5ca9f18a71756678ab657be71d759843"></span><em class="property"><span class="pre">const</span></em> <em class="property"><span class="pre">struct</span></em> <a class="reference internal" href="#_CPPv49_lv_obj_t" title="_lv_obj_t"><span class="pre">_lv_obj_t</span></a> <span class="pre">*</span><code class="sig-name descname"><span class="pre">base</span></code><a class="headerlink" href="#_CPPv4N12lv_realign_t4baseE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N12lv_realign_t4xofsE">
<span id="_CPPv3N12lv_realign_t4xofsE"></span><span id="_CPPv2N12lv_realign_t4xofsE"></span><span id="lv_realign_t::xofs__lv_coord_t"></span><span class="target" id="structlv__realign__t_1a5213ce4d1e3ba20ccdcd3aae9c19a685"></span><span class="pre">lv_coord_t</span> <code class="sig-name descname"><span class="pre">xofs</span></code><a class="headerlink" href="#_CPPv4N12lv_realign_t4xofsE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N12lv_realign_t4yofsE">
<span id="_CPPv3N12lv_realign_t4yofsE"></span><span id="_CPPv2N12lv_realign_t4yofsE"></span><span id="lv_realign_t::yofs__lv_coord_t"></span><span class="target" id="structlv__realign__t_1a11c52c8e1ca8897243ac14898ade0654"></span><span class="pre">lv_coord_t</span> <code class="sig-name descname"><span class="pre">yofs</span></code><a class="headerlink" href="#_CPPv4N12lv_realign_t4yofsE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N12lv_realign_t5alignE">
<span id="_CPPv3N12lv_realign_t5alignE"></span><span id="_CPPv2N12lv_realign_t5alignE"></span><span id="lv_realign_t::align__lv_align_t"></span><span class="target" id="structlv__realign__t_1a6d9e0d0eefc10f1e0015ca9d1690f940"></span><span class="pre">lv_align_t</span> <code class="sig-name descname"><span class="pre">align</span></code><a class="headerlink" href="#_CPPv4N12lv_realign_t5alignE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N12lv_realign_t12auto_realignE">
<span id="_CPPv3N12lv_realign_t12auto_realignE"></span><span id="_CPPv2N12lv_realign_t12auto_realignE"></span><span id="lv_realign_t::auto_realign__uint8_t"></span><span class="target" id="structlv__realign__t_1ace83e08f6d19f829d5f557f9b0e2cf20"></span><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">auto_realign</span></code><a class="headerlink" href="#_CPPv4N12lv_realign_t12auto_realignE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N12lv_realign_t9mid_alignE">
<span id="_CPPv3N12lv_realign_t9mid_alignE"></span><span id="_CPPv2N12lv_realign_t9mid_alignE"></span><span id="lv_realign_t::mid_align__uint8_t"></span><span class="target" id="structlv__realign__t_1abeda130f17369c929d828c0852733383"></span><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">mid_align</span></code><a class="headerlink" href="#_CPPv4N12lv_realign_t9mid_alignE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>1: the origo (center of the object) was aligned with <code class="docutils literal notranslate"><span class="pre">lv_obj_align_origo</span></code> </p>
</dd></dl>

</div>
</dd></dl>

<dl class="cpp struct">
<dt id="_CPPv49_lv_obj_t">
<span id="_CPPv39_lv_obj_t"></span><span id="_CPPv29_lv_obj_t"></span><span id="_lv_obj_t"></span><span class="target" id="struct__lv__obj__t"></span><em class="property"><span class="pre">struct</span> </em><code class="sig-name descname"><span class="pre">_lv_obj_t</span></code><a class="headerlink" href="#_CPPv49_lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-public-members">Public Members</p>
<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t6parentE">
<span id="_CPPv3N9_lv_obj_t6parentE"></span><span id="_CPPv2N9_lv_obj_t6parentE"></span><span id="_lv_obj_t::parent___lv_obj_tP"></span><span class="target" id="struct__lv__obj__t_1abf27a654be0ee86860391c9104a4d098"></span><em class="property"><span class="pre">struct</span></em> <a class="reference internal" href="#_CPPv49_lv_obj_t" title="_lv_obj_t"><span class="pre">_lv_obj_t</span></a> <span class="pre">*</span><code class="sig-name descname"><span class="pre">parent</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t6parentE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Pointer to the parent object </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t8child_llE">
<span id="_CPPv3N9_lv_obj_t8child_llE"></span><span id="_CPPv2N9_lv_obj_t8child_llE"></span><span id="_lv_obj_t::child_ll__lv_ll_t"></span><span class="target" id="struct__lv__obj__t_1ad6b65cb2303495c9a2dec63def0fd185"></span><span class="pre">lv_ll_t</span> <code class="sig-name descname"><span class="pre">child_ll</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t8child_llE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Linked list to store the children objects </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t6coordsE">
<span id="_CPPv3N9_lv_obj_t6coordsE"></span><span id="_CPPv2N9_lv_obj_t6coordsE"></span><span id="_lv_obj_t::coords__lv_area_t"></span><span class="target" id="struct__lv__obj__t_1a5159a54e860e2efa245ccd12f1f26253"></span><span class="pre">lv_area_t</span> <code class="sig-name descname"><span class="pre">coords</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t6coordsE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Coordinates of the object (x1, y1, x2, y2) </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t8event_cbE">
<span id="_CPPv3N9_lv_obj_t8event_cbE"></span><span id="_CPPv2N9_lv_obj_t8event_cbE"></span><span id="_lv_obj_t::event_cb__lv_event_cb_t"></span><span class="target" id="struct__lv__obj__t_1a057a6a109fa1407369d1b30a4fb37479"></span><a class="reference internal" href="#_CPPv413lv_event_cb_t" title="lv_event_cb_t"><span class="pre">lv_event_cb_t</span></a> <code class="sig-name descname"><span class="pre">event_cb</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t8event_cbE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Event callback function </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t9signal_cbE">
<span id="_CPPv3N9_lv_obj_t9signal_cbE"></span><span id="_CPPv2N9_lv_obj_t9signal_cbE"></span><span id="_lv_obj_t::signal_cb__lv_signal_cb_t"></span><span class="target" id="struct__lv__obj__t_1a4b8533e33052e0c5531a82882d0da39e"></span><a class="reference internal" href="#_CPPv414lv_signal_cb_t" title="lv_signal_cb_t"><span class="pre">lv_signal_cb_t</span></a> <code class="sig-name descname"><span class="pre">signal_cb</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t9signal_cbE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Object type specific signal function </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t9design_cbE">
<span id="_CPPv3N9_lv_obj_t9design_cbE"></span><span id="_CPPv2N9_lv_obj_t9design_cbE"></span><span id="_lv_obj_t::design_cb__lv_design_cb_t"></span><span class="target" id="struct__lv__obj__t_1ad6d6cab3f5c316c040583b987d4dafae"></span><a class="reference internal" href="#_CPPv414lv_design_cb_t" title="lv_design_cb_t"><span class="pre">lv_design_cb_t</span></a> <code class="sig-name descname"><span class="pre">design_cb</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t9design_cbE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Object type specific design function </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t8ext_attrE">
<span id="_CPPv3N9_lv_obj_t8ext_attrE"></span><span id="_CPPv2N9_lv_obj_t8ext_attrE"></span><span id="_lv_obj_t::ext_attr__voidP"></span><span class="target" id="struct__lv__obj__t_1a18b5c5372f83cb8640acf0c1d2beb7b9"></span><span class="pre">void</span> <span class="pre">*</span><code class="sig-name descname"><span class="pre">ext_attr</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t8ext_attrE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Object type specific extended data </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t10style_listE">
<span id="_CPPv3N9_lv_obj_t10style_listE"></span><span id="_CPPv2N9_lv_obj_t10style_listE"></span><span id="_lv_obj_t::style_list__lv_style_list_t"></span><span class="target" id="struct__lv__obj__t_1a30417bd4dd61c19a6c71f7f6603182be"></span><a class="reference internal" href="../overview/style.html#_CPPv415lv_style_list_t" title="lv_style_list_t"><span class="pre">lv_style_list_t</span></a> <code class="sig-name descname"><span class="pre">style_list</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t10style_listE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t17ext_click_pad_horE">
<span id="_CPPv3N9_lv_obj_t17ext_click_pad_horE"></span><span id="_CPPv2N9_lv_obj_t17ext_click_pad_horE"></span><span id="_lv_obj_t::ext_click_pad_hor__uint8_t"></span><span class="target" id="struct__lv__obj__t_1aad18a5c4b9280aa4aeeea668248a65c9"></span><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">ext_click_pad_hor</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t17ext_click_pad_horE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Extra click padding in horizontal direction </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t17ext_click_pad_verE">
<span id="_CPPv3N9_lv_obj_t17ext_click_pad_verE"></span><span id="_CPPv2N9_lv_obj_t17ext_click_pad_verE"></span><span id="_lv_obj_t::ext_click_pad_ver__uint8_t"></span><span class="target" id="struct__lv__obj__t_1aa839ad055356234122bb99da277c798d"></span><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">ext_click_pad_ver</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t17ext_click_pad_verE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Extra click padding in vertical direction </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t13ext_click_padE">
<span id="_CPPv3N9_lv_obj_t13ext_click_padE"></span><span id="_CPPv2N9_lv_obj_t13ext_click_padE"></span><span id="_lv_obj_t::ext_click_pad__lv_area_t"></span><span class="target" id="struct__lv__obj__t_1aa99bdb30fd8083e42592e442828fedc1"></span><span class="pre">lv_area_t</span> <code class="sig-name descname"><span class="pre">ext_click_pad</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t13ext_click_padE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Extra click padding area. </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t12ext_draw_padE">
<span id="_CPPv3N9_lv_obj_t12ext_draw_padE"></span><span id="_CPPv2N9_lv_obj_t12ext_draw_padE"></span><span id="_lv_obj_t::ext_draw_pad__lv_coord_t"></span><span class="target" id="struct__lv__obj__t_1add6c3fbc963d6a3175ebf92ff6b760f8"></span><span class="pre">lv_coord_t</span> <code class="sig-name descname"><span class="pre">ext_draw_pad</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t12ext_draw_padE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>EXTend the size in every direction for drawing. </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t5clickE">
<span id="_CPPv3N9_lv_obj_t5clickE"></span><span id="_CPPv2N9_lv_obj_t5clickE"></span><span id="_lv_obj_t::click__uint8_t"></span><span class="target" id="struct__lv__obj__t_1a5aff593ec2b2d1e1461a496569ce2e2c"></span><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">click</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t5clickE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>1: Can be pressed by an input device </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t4dragE">
<span id="_CPPv3N9_lv_obj_t4dragE"></span><span id="_CPPv2N9_lv_obj_t4dragE"></span><span id="_lv_obj_t::drag__uint8_t"></span><span class="target" id="struct__lv__obj__t_1a37f3c5da535b993775a44f556e78aa9b"></span><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">drag</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t4dragE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>1: Enable the dragging </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t10drag_throwE">
<span id="_CPPv3N9_lv_obj_t10drag_throwE"></span><span id="_CPPv2N9_lv_obj_t10drag_throwE"></span><span id="_lv_obj_t::drag_throw__uint8_t"></span><span class="target" id="struct__lv__obj__t_1af06a95de66e183335be8481ce4504500"></span><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">drag_throw</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t10drag_throwE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>1: Enable throwing with drag </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t11drag_parentE">
<span id="_CPPv3N9_lv_obj_t11drag_parentE"></span><span id="_CPPv2N9_lv_obj_t11drag_parentE"></span><span id="_lv_obj_t::drag_parent__uint8_t"></span><span class="target" id="struct__lv__obj__t_1a57d344e11977aa356cc00fb2453c71d0"></span><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">drag_parent</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t11drag_parentE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>1: Parent will be dragged instead </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t6hiddenE">
<span id="_CPPv3N9_lv_obj_t6hiddenE"></span><span id="_CPPv2N9_lv_obj_t6hiddenE"></span><span id="_lv_obj_t::hidden__uint8_t"></span><span class="target" id="struct__lv__obj__t_1a30ea1c215d3c9e72171d2f0bf367fe80"></span><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">hidden</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t6hiddenE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>1: Object is hidden </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t3topE">
<span id="_CPPv3N9_lv_obj_t3topE"></span><span id="_CPPv2N9_lv_obj_t3topE"></span><span id="_lv_obj_t::top__uint8_t"></span><span class="target" id="struct__lv__obj__t_1af655d7f63d4713ee248868eb9cb995bd"></span><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">top</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t3topE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>1: If the object or its children is clicked it goes to the foreground </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t12parent_eventE">
<span id="_CPPv3N9_lv_obj_t12parent_eventE"></span><span id="_CPPv2N9_lv_obj_t12parent_eventE"></span><span id="_lv_obj_t::parent_event__uint8_t"></span><span class="target" id="struct__lv__obj__t_1aad0be8113730050561e37f62ec34a74a"></span><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">parent_event</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t12parent_eventE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>1: Send the object's events to the parent too. </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t11adv_hittestE">
<span id="_CPPv3N9_lv_obj_t11adv_hittestE"></span><span id="_CPPv2N9_lv_obj_t11adv_hittestE"></span><span id="_lv_obj_t::adv_hittest__uint8_t"></span><span class="target" id="struct__lv__obj__t_1a0d9358bc8045af18f292630c8e95cb35"></span><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">adv_hittest</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t11adv_hittestE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>1: Use advanced hit-testing (slower) </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t14gesture_parentE">
<span id="_CPPv3N9_lv_obj_t14gesture_parentE"></span><span id="_CPPv2N9_lv_obj_t14gesture_parentE"></span><span id="_lv_obj_t::gesture_parent__uint8_t"></span><span class="target" id="struct__lv__obj__t_1a1d5d23ee67b068b0febe9f30aebcd44a"></span><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">gesture_parent</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t14gesture_parentE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>1: Parent will be gesture instead </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t12focus_parentE">
<span id="_CPPv3N9_lv_obj_t12focus_parentE"></span><span id="_CPPv2N9_lv_obj_t12focus_parentE"></span><span id="_lv_obj_t::focus_parent__uint8_t"></span><span class="target" id="struct__lv__obj__t_1a85660419c4ea749b736330e2f9566535"></span><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">focus_parent</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t12focus_parentE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>1: Parent will be focused instead </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t8drag_dirE">
<span id="_CPPv3N9_lv_obj_t8drag_dirE"></span><span id="_CPPv2N9_lv_obj_t8drag_dirE"></span><span id="_lv_obj_t::drag_dir__lv_drag_dir_t"></span><span class="target" id="struct__lv__obj__t_1a3ab46d1105c1a83eec453a7000a1e16c"></span><a class="reference internal" href="../porting/indev.html#_CPPv413lv_drag_dir_t" title="lv_drag_dir_t"><span class="pre">lv_drag_dir_t</span></a> <code class="sig-name descname"><span class="pre">drag_dir</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t8drag_dirE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Which directions the object can be dragged in </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t8base_dirE">
<span id="_CPPv3N9_lv_obj_t8base_dirE"></span><span id="_CPPv2N9_lv_obj_t8base_dirE"></span><span id="_lv_obj_t::base_dir__lv_bidi_dir_t"></span><span class="target" id="struct__lv__obj__t_1aa89682f5fb368858c584c3f4b23c1c91"></span><span class="pre">lv_bidi_dir_t</span> <code class="sig-name descname"><span class="pre">base_dir</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t8base_dirE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Base direction of texts related to this object </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t7group_pE">
<span id="_CPPv3N9_lv_obj_t7group_pE"></span><span id="_CPPv2N9_lv_obj_t7group_pE"></span><span id="_lv_obj_t::group_p__voidP"></span><span class="target" id="struct__lv__obj__t_1a02e04f276df188faa28e6e0ec0f7da53"></span><span class="pre">void</span> <span class="pre">*</span><code class="sig-name descname"><span class="pre">group_p</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t7group_pE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t7protectE">
<span id="_CPPv3N9_lv_obj_t7protectE"></span><span id="_CPPv2N9_lv_obj_t7protectE"></span><span id="_lv_obj_t::protect__uint8_t"></span><span class="target" id="struct__lv__obj__t_1a2b10cb57fa2632b1e89bf517f23e5c7e"></span><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">protect</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t7protectE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Automatically happening actions can be prevented. 'OR'ed values from <code class="docutils literal notranslate"><span class="pre">lv_protect_t</span></code> </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t5stateE">
<span id="_CPPv3N9_lv_obj_t5stateE"></span><span id="_CPPv2N9_lv_obj_t5stateE"></span><span id="_lv_obj_t::state__lv_state_t"></span><span class="target" id="struct__lv__obj__t_1aa3fd4378cceb29153c26649eeda2f5c3"></span><a class="reference internal" href="#_CPPv410lv_state_t" title="lv_state_t"><span class="pre">lv_state_t</span></a> <code class="sig-name descname"><span class="pre">state</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t5stateE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t7realignE">
<span id="_CPPv3N9_lv_obj_t7realignE"></span><span id="_CPPv2N9_lv_obj_t7realignE"></span><span id="_lv_obj_t::realign__lv_realign_t"></span><span class="target" id="struct__lv__obj__t_1a6aa95376d835dbdc47702019fe74a57c"></span><a class="reference internal" href="#_CPPv412lv_realign_t" title="lv_realign_t"><span class="pre">lv_realign_t</span></a> <code class="sig-name descname"><span class="pre">realign</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t7realignE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Information about the last call to <a class="reference internal" href="#lv__obj_8h_1a85f41473c55cd51c1fd364ea613e14ee"><span class="std std-ref">lv_obj_align</span></a>. </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t9user_dataE">
<span id="_CPPv3N9_lv_obj_t9user_dataE"></span><span id="_CPPv2N9_lv_obj_t9user_dataE"></span><span id="_lv_obj_t::user_data__lv_obj_user_data_t"></span><span class="target" id="struct__lv__obj__t_1ae51711ba68ca64125ed2d4eb7ec03a6d"></span><span class="pre">lv_obj_user_data_t</span> <code class="sig-name descname"><span class="pre">user_data</span></code><a class="headerlink" href="#_CPPv4N9_lv_obj_t9user_dataE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Custom user data for object. </p>
</dd></dl>

</div>
</dd></dl>

<dl class="cpp struct">
<dt id="_CPPv413lv_obj_type_t">
<span id="_CPPv313lv_obj_type_t"></span><span id="_CPPv213lv_obj_type_t"></span><span id="lv_obj_type_t"></span><span class="target" id="structlv__obj__type__t"></span><em class="property"><span class="pre">struct</span> </em><code class="sig-name descname"><span class="pre">lv_obj_type_t</span></code><a class="headerlink" href="#_CPPv413lv_obj_type_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><em>#include &lt;lv_obj.h&gt;</em><p>Used by <code class="docutils literal notranslate"><a class="reference internal" href="#lv__obj_8h_1af939d1c447779b6f93bbdcf5a673ec69"><span class="std std-ref"><span class="pre">lv_obj_get_type()</span></span></a></code>. The object's and its ancestor types are stored here </p>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-public-members">Public Members</p>
<dl class="cpp var">
<dt id="_CPPv4N13lv_obj_type_t4typeE">
<span id="_CPPv3N13lv_obj_type_t4typeE"></span><span id="_CPPv2N13lv_obj_type_t4typeE"></span><span id="lv_obj_type_t::type__cCPA"></span><span class="target" id="structlv__obj__type__t_1ae24e59ffdb8f2e285b26a743b03f1469"></span><em class="property"><span class="pre">const</span></em> <span class="pre">char</span> <span class="pre">*</span><code class="sig-name descname"><span class="pre">type</span></code><span class="pre">[</span><code class="sig-name descname"><span class="pre">LV_MAX_ANCESTOR_NUM</span></code><span class="pre">]</span><a class="headerlink" href="#_CPPv4N13lv_obj_type_t4typeE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>[0]: the actual type, [1]: ancestor, [2] #1's ancestor ... [x]: &quot;lv_obj&quot; </p>
</dd></dl>

</div>
</dd></dl>

<dl class="cpp struct">
<dt id="_CPPv418lv_hit_test_info_t">
<span id="_CPPv318lv_hit_test_info_t"></span><span id="_CPPv218lv_hit_test_info_t"></span><span id="lv_hit_test_info_t"></span><span class="target" id="structlv__hit__test__info__t"></span><em class="property"><span class="pre">struct</span> </em><code class="sig-name descname"><span class="pre">lv_hit_test_info_t</span></code><a class="headerlink" href="#_CPPv418lv_hit_test_info_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-public-members">Public Members</p>
<dl class="cpp var">
<dt id="_CPPv4N18lv_hit_test_info_t5pointE">
<span id="_CPPv3N18lv_hit_test_info_t5pointE"></span><span id="_CPPv2N18lv_hit_test_info_t5pointE"></span><span id="lv_hit_test_info_t::point__lv_point_tP"></span><span class="target" id="structlv__hit__test__info__t_1ad5cc7666d110c0e9281ad4c33d9f956b"></span><span class="pre">lv_point_t</span> <span class="pre">*</span><code class="sig-name descname"><span class="pre">point</span></code><a class="headerlink" href="#_CPPv4N18lv_hit_test_info_t5pointE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N18lv_hit_test_info_t6resultE">
<span id="_CPPv3N18lv_hit_test_info_t6resultE"></span><span id="_CPPv2N18lv_hit_test_info_t6resultE"></span><span id="lv_hit_test_info_t::result__b"></span><span class="target" id="structlv__hit__test__info__t_1a5a0c95d66fdc0a2dc17285e52312dfab"></span><span class="pre">bool</span> <code class="sig-name descname"><span class="pre">result</span></code><a class="headerlink" href="#_CPPv4N18lv_hit_test_info_t6resultE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

</div>
</dd></dl>

<dl class="cpp struct">
<dt id="_CPPv419lv_get_style_info_t">
<span id="_CPPv319lv_get_style_info_t"></span><span id="_CPPv219lv_get_style_info_t"></span><span id="lv_get_style_info_t"></span><span class="target" id="structlv__get__style__info__t"></span><em class="property"><span class="pre">struct</span> </em><code class="sig-name descname"><span class="pre">lv_get_style_info_t</span></code><a class="headerlink" href="#_CPPv419lv_get_style_info_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-public-members">Public Members</p>
<dl class="cpp var">
<dt id="_CPPv4N19lv_get_style_info_t4partE">
<span id="_CPPv3N19lv_get_style_info_t4partE"></span><span id="_CPPv2N19lv_get_style_info_t4partE"></span><span id="lv_get_style_info_t::part__uint8_t"></span><span class="target" id="structlv__get__style__info__t_1a01bbcc59bda70b60043cf21500196e24"></span><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">part</span></code><a class="headerlink" href="#_CPPv4N19lv_get_style_info_t4partE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N19lv_get_style_info_t6resultE">
<span id="_CPPv3N19lv_get_style_info_t6resultE"></span><span id="_CPPv2N19lv_get_style_info_t6resultE"></span><span id="lv_get_style_info_t::result__lv_style_list_tP"></span><span class="target" id="structlv__get__style__info__t_1a5f87b28ce87420f9b636999bad1ff348"></span><a class="reference internal" href="../overview/style.html#_CPPv415lv_style_list_t" title="lv_style_list_t"><span class="pre">lv_style_list_t</span></a> <span class="pre">*</span><code class="sig-name descname"><span class="pre">result</span></code><a class="headerlink" href="#_CPPv4N19lv_get_style_info_t6resultE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

</div>
</dd></dl>

<dl class="cpp struct">
<dt id="_CPPv419lv_get_state_info_t">
<span id="_CPPv319lv_get_state_info_t"></span><span id="_CPPv219lv_get_state_info_t"></span><span id="lv_get_state_info_t"></span><span class="target" id="structlv__get__state__info__t"></span><em class="property"><span class="pre">struct</span> </em><code class="sig-name descname"><span class="pre">lv_get_state_info_t</span></code><a class="headerlink" href="#_CPPv419lv_get_state_info_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-public-members">Public Members</p>
<dl class="cpp var">
<dt id="_CPPv4N19lv_get_state_info_t4partE">
<span id="_CPPv3N19lv_get_state_info_t4partE"></span><span id="_CPPv2N19lv_get_state_info_t4partE"></span><span id="lv_get_state_info_t::part__uint8_t"></span><span class="target" id="structlv__get__state__info__t_1a5889caed691aac502262b1ac13a66d85"></span><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">part</span></code><a class="headerlink" href="#_CPPv4N19lv_get_state_info_t4partE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N19lv_get_state_info_t6resultE">
<span id="_CPPv3N19lv_get_state_info_t6resultE"></span><span id="_CPPv2N19lv_get_state_info_t6resultE"></span><span id="lv_get_state_info_t::result__lv_state_t"></span><span class="target" id="structlv__get__state__info__t_1a3deacd64de142b77643225916be073d4"></span><a class="reference internal" href="#_CPPv410lv_state_t" title="lv_state_t"><span class="pre">lv_state_t</span></a> <code class="sig-name descname"><span class="pre">result</span></code><a class="headerlink" href="#_CPPv4N19lv_get_state_info_t6resultE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

</div>
</dd></dl>

</div>
</div>


           </div>
           
          </div>
          <footer>
  
    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
      
        <a href="arc.html" class="btn btn-neutral float-right" title="Arc (lv_arc)" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
      
      
        <a href="index.html" class="btn btn-neutral float-left" title="Widgets" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
      
    </div>
  

  <hr/>

  <div role="contentinfo">
    <p>
        
        &copy; Copyright 2020, LVGL LLC
      <span class="lastupdated">
        Last updated on May 14, 2021.
      </span>

    </p>
  </div>
    
    
    
    Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a
    
    <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a>
    
    provided by <a href="https://readthedocs.org">Read the Docs</a>. 

</footer>

        </div>
      </div>

    </section>

  </div>
  

  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script>

  
  
    
  

 <script type="text/javascript">
    $(document).ready(function() {
        $(".toggle > *").hide();
        $(".toggle .header").show();
        $(".toggle .header").click(function() {
            $(this).parent().children().not(".header").toggle(400);
            $(this).parent().children(".header").toggleClass("open");
        })
    });
</script>

<script type="text/javascript">
function add_version_selector()
{
    return fetch("https://raw.githubusercontent.com/lvgl/docs_compiled/gh-pages/versionlist.txt")
        .then(res => res.text())
        .then(text => {
            const versions = text.split("\n").filter(version => version.trim().length > 0);
            p = document.getElementById("rtd-search-form").parentElement;
            p.innerHTML = `
            <select name="versions" id="versions" onchange="ver_sel()" style="border-radius:5px; margin-bottom:15px">
            ${versions.map(version => `<option value="${version}">${version}</option>`)}
            </select>` + p.innerHTML;
        });
}

function ver_sel()
{
  var x = document.getElementById("versions").value;
  window.location.href = window.location.protocol + "//" + window.location.host + "/" + x + "/";
}

document.addEventListener('DOMContentLoaded', (event) => {
    add_version_selector().then(() => {
        var value = window.location.pathname.split('/')[1];
        document.getElementById("versions").value = value;
    });
    
})
</script>


</body>
</html>